Skip to content

adds two convenience methods for optional configuration sections #5688

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 6, 2012

Conversation

schmittjoh
Copy link
Contributor

This adds two convenience methods which safes some typing for optional configuration.

I have updated the FrameworkConfiguration to use these methods; the behavior is equivalent.

@sstok
Copy link
Contributor

sstok commented Oct 6, 2012

👍

@fabpot
Copy link
Member

fabpot commented Oct 6, 2012

Looks good. Can you update the documentation as well and add a note in the component CHANGELOG? Thanks.

schmittjoh added a commit to schmittjoh/symfony-docs that referenced this pull request Oct 6, 2012
@schmittjoh
Copy link
Contributor Author

done

return $this;
}

public function canBeDisabled()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you should add some phpdoc

fabpot added a commit that referenced this pull request Oct 6, 2012
This PR was merged into the master branch.

Commits
-------

36bbaf3 added entry to changelog
0187a1a adds two convenience methods for optional configuration sections

Discussion
----------

adds two convenience methods for optional configuration sections

This adds two convenience methods which safes some typing for optional configuration.

I have updated the FrameworkConfiguration to use these methods; the behavior is equivalent.

---------------------------------------------------------------------------

by sstok at 2012-10-06T12:21:09Z

:+1:

---------------------------------------------------------------------------

by fabpot at 2012-10-06T12:32:10Z

Looks good. Can you update the documentation as well and add a note in the component CHANGELOG? Thanks.

---------------------------------------------------------------------------

by schmittjoh at 2012-10-06T14:22:35Z

done
@fabpot fabpot merged commit 36bbaf3 into symfony:master Oct 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants