1 | <?php |
||
26 | final class Manager implements ManagerInterface |
||
27 | { |
||
28 | /** |
||
29 | * @var ProfileInterface[] |
||
30 | */ |
||
31 | private $profiles; |
||
32 | |||
33 | /** |
||
34 | * @var WorkflowInterface |
||
35 | */ |
||
36 | private $workflow; |
||
37 | |||
38 | 2 | public function __construct(WorkflowInterface $workflow, $profiles = array()) |
|
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | 2 | public function add(ProfileInterface $profile) |
|
59 | |||
60 | /** |
||
61 | * {@inheritdoc} |
||
62 | */ |
||
63 | 2 | public function has($name) |
|
67 | |||
68 | /** |
||
69 | * {@inheritdoc} |
||
70 | */ |
||
71 | 2 | public function get($name) |
|
75 | |||
76 | /** |
||
77 | * {@inheritdoc} |
||
78 | */ |
||
79 | 2 | public function execute($name) |
|
90 | |||
91 | /** |
||
92 | * {@inheritdoc} |
||
93 | */ |
||
94 | public function getIterator() |
||
98 | } |
||
99 |