| Total Complexity | 5 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | final class IteratorSpec extends ObjectBehavior |
||
| 13 | { |
||
| 14 | function let(Container $container) |
||
| 17 | } |
||
| 18 | |||
| 19 | function it_is_initializable() |
||
| 22 | } |
||
| 23 | |||
| 24 | function it_is_a_factory() |
||
| 25 | { |
||
| 26 | $this->shouldHaveType(Factory::class); |
||
| 27 | } |
||
| 28 | |||
| 29 | function it_supports_specific_config() |
||
| 30 | { |
||
| 31 | $this->supports(['type' => 'iterator'])->shouldReturn(true); |
||
| 32 | } |
||
| 33 | |||
| 34 | function it_creates_a_dictionary($container, MockIterator $service) |
||
| 54 | ]); |
||
| 55 | } |
||
| 56 | } |
||
| 65 |
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.