1 | <?php |
||
29 | final class Manager implements ManagerInterface |
||
30 | { |
||
31 | use LoggerAwareTrait; |
||
32 | use EventDispatcherAwareTrait; |
||
33 | |||
34 | /** |
||
35 | * @var ProfileInterface[] |
||
36 | */ |
||
37 | private $profiles; |
||
38 | |||
39 | /** |
||
40 | * @var EventDispatcherInterface |
||
41 | */ |
||
42 | private $eventDispatcher; |
||
43 | |||
44 | /** |
||
45 | * @var LoggerInterface |
||
46 | */ |
||
47 | private $logger; |
||
48 | |||
49 | public function __construct(EventDispatcherInterface $eventDispatcher = null, LoggerInterface $logger = null, $profiles = array()) |
||
55 | |||
56 | /** |
||
57 | * {@inheritdoc} |
||
58 | */ |
||
59 | public function add(ProfileInterface $profile) |
||
64 | |||
65 | /** |
||
66 | * {@inheritdoc} |
||
67 | */ |
||
68 | public function has($name) |
||
72 | |||
73 | /** |
||
74 | * {@inheritdoc} |
||
75 | */ |
||
76 | public function get($name) |
||
80 | |||
81 | /** |
||
82 | * {@inheritdoc} |
||
83 | */ |
||
84 | public function execute($name) |
||
94 | |||
95 | /** |
||
96 | * {@inheritdoc} |
||
97 | */ |
||
98 | public function getIterator() |
||
102 | } |
||
103 |