[DI] Remove irrelevant comment from container

This commit is contained in:
Roland Franssen 2017-07-08 10:28:14 +02:00
parent 3c9958cbc3
commit 595a225a0f
2 changed files with 2 additions and 12 deletions

View File

@ -29,16 +29,6 @@ use Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag;
*
* Parameter and service keys are case insensitive.
*
* A service id can contain lowercased letters, digits, underscores, and dots.
* Underscores are used to separate words, and dots to group services
* under namespaces:
*
* <ul>
* <li>request</li>
* <li>mysql_session_storage</li>
* <li>symfony.mysql_session_storage</li>
* </ul>
*
* A service can also be defined by creating a method named
* getXXXService(), where XXX is the camelized version of the id:
*

View File

@ -134,8 +134,8 @@ class ContainerTest extends TestCase
public function testSet()
{
$sc = new Container();
$sc->set('foo', $foo = new \stdClass());
$this->assertSame($foo, $sc->get('foo'), '->set() sets a service');
$sc->set('._. \\o/', $foo = new \stdClass());
$this->assertSame($foo, $sc->get('._. \\o/'), '->set() sets a service');
}
public function testSetWithNullResetTheService()