Skip to content

Adding more detail to the DI compilation page #1660

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 4 commits into from
Sep 9, 2012

Conversation

richardmiller-zz
Copy link
Contributor

Moving the Extensions section to before the compiler pass as this makes more sense to me. Also adding more detail to the Extensions section

public function load(array $configs, ContainerBuilder $container)
{
$configuration = new Configuration();
$config = $this->processConfiguration($configuration, $configs);
Copy link
Member

Choose a reason for hiding this comment

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

note that this shortcut is only available in the base class proided in HttpKernel. So here, you should better write the actual code (maybe giving a tip about the method in the HttpKernel base extension)

$loader->load('services.xml');
}

//--
Copy link
Member

Choose a reason for hiding this comment

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

This should be // ... (as wel as all the other // -- below). You can find these rules here: symfony.com/doc/master/contributing/documentation/overview.html#standards

weaverryan added a commit that referenced this pull request Sep 9, 2012
Adding more detail to the DI compilation page
@weaverryan weaverryan merged commit e8ee4ed into symfony:2.0 Sep 9, 2012
weaverryan added a commit that referenced this pull request Sep 9, 2012
@weaverryan
Copy link
Member

Hey Richard!

Merged in - looks great and a lot more detail. I made very very minor tweaks as I read through.

Thanks!

weaverryan added a commit that referenced this pull request Sep 9, 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