Total Complexity | 5 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | final class InvokableSpec extends ObjectBehavior |
||
13 | { |
||
14 | function let(Container $container) |
||
|
|||
15 | { |
||
16 | $this->beConstructedWith($container); |
||
17 | } |
||
18 | |||
19 | function it_is_initializable() |
||
22 | } |
||
23 | |||
24 | function it_is_a_factory() |
||
27 | } |
||
28 | |||
29 | function it_supports_specific_config() |
||
32 | } |
||
33 | |||
34 | function it_creates_a_dictionary($container, MockInvokable $service) |
||
69 |
Adding explicit visibility (
private
,protected
, orpublic
) is generally recommend to communicate to other developers how, and from where this method is intended to be used.