Skip to content

Creating parameters page in DI component #2322

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 3 commits into from
Mar 30, 2013

Conversation

richardmiller-zz
Copy link
Contributor

Q A
Doc fix? no
New docs? yes
Applies to all

I have moved some of the parameters related content that was spread around the docs into a single page in the DI component section as well as adding a bit more to the page.

<service id="mailer" class="Mailer">
<argument>%mailer.transport%</argument>
</service>

Copy link
Member

Choose a reason for hiding this comment

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

unneeded empty line here

@wouterj
Copy link
Member

wouterj commented Mar 20, 2013

👍 I like it (expect from those minor fixes), making the book articles shorter is an important thing.

@richardmiller-zz
Copy link
Contributor Author

Should all be sorted now - I should have had a better check of the bits I moved from elsewhere :)


.. code-block:: php

->addArgument('http://symfony.com/?foo=%%s&bar=%%d');
Copy link
Member

Choose a reason for hiding this comment

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

this configuration-block needs to be indented one level

weaverryan added a commit that referenced this pull request Mar 30, 2013
Creating parameters page in DI component
@weaverryan weaverryan merged commit 898eac7 into symfony:2.0 Mar 30, 2013
weaverryan added a commit that referenced this pull request Mar 30, 2013
@weaverryan
Copy link
Member

Hi Richard!

This is an excellent example of carefully, but successfully, moving things into the component documentation. It's very nice! I made a few small tweaks, but the notable one is that if when you removed a section, I put it back, but with just a link to the new spot for that documentation. I think this pretty effectively allows us to continue to make cookbooks readable (and not incomplete) without duplication.

Thanks!

@richardmiller-zz richardmiller-zz deleted the adding_parameters_page branch March 30, 2013 20:06
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