Version 1
[yaffs-website] / vendor / symfony / dependency-injection / IntrospectableContainerInterface.php
1 <?php
2
3 /*
4  * This file is part of the Symfony package.
5  *
6  * (c) Fabien Potencier <fabien@symfony.com>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11
12 namespace Symfony\Component\DependencyInjection;
13
14 /**
15  * IntrospectableContainerInterface defines additional introspection functionality
16  * for containers, allowing logic to be implemented based on a Container's state.
17  *
18  * @author Evan Villemez <evillemez@gmail.com>
19  *
20  * @deprecated since version 2.8, to be merged with ContainerInterface in 3.0.
21  */
22 interface IntrospectableContainerInterface extends ContainerInterface
23 {
24     /**
25      * Check for whether or not a service has been initialized.
26      *
27      * @param string $id
28      *
29      * @return bool true if the service has been initialized, false otherwise
30      */
31     public function initialized($id);
32 }