[DI] Remove irrelevant comment from container
This commit is contained in:
parent
3c9958cbc3
commit
595a225a0f
@ -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:
|
||||
*
|
||||
|
@ -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()
|
||||
|
Reference in New Issue
Block a user