Skip to content

Commit

Permalink
Merge branch '2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Apr 3, 2012
2 parents c064fa1 + 245a492 commit aa6af43
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion book/doctrine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1276,7 +1276,7 @@ and ``nullable``. Take a few examples:
* A string field of length 150 that persists to an "email_address" column
* and has a unique index.
*
* @ORM\Column(name="email_address", unique=true, length="150")
* @ORM\Column(name="email_address", unique=true, length=150)
*/
protected $email;
Expand Down
2 changes: 1 addition & 1 deletion book/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -993,7 +993,7 @@ be stored in the database.
class User implements UserInterface
{
/**
* @ORM\Column(type="string", length="255")
* @ORM\Column(type="string", length=255)
*/
protected $username;
Expand Down
4 changes: 2 additions & 2 deletions components/dependency_injection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ Loading an xml config file:
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
$sc = new ContainerBuilder();
$loader = new XmlFileLoader($container, new FileLocator(__DIR__));
$loader = new XmlFileLoader($sc, new FileLocator(__DIR__));
$loader->load('services.xml');
Loading a yaml config file:
Expand All @@ -224,7 +224,7 @@ Loading a yaml config file:
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
$sc = new ContainerBuilder();
$loader = new YamlFileLoader($container, new FileLocator(__DIR__));
$loader = new YamlFileLoader($sc, new FileLocator(__DIR__));
$loader->load('services.yml');
The ``newsletter_manager`` and ``mailer`` services can be set up using config files:
Expand Down

0 comments on commit aa6af43

Please sign in to comment.