| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | final class AttributeBuilderSpec extends ObjectBehavior |
||
| 24 | { |
||
| 25 | function let( |
||
|
|
|||
| 26 | ConcatedNameResolverInterface $attributeNameResolver, |
||
| 27 | StringFormatterInterface $stringFormatter |
||
| 28 | ): void { |
||
| 29 | $this->beConstructedWith( |
||
| 30 | $attributeNameResolver, |
||
| 31 | $stringFormatter |
||
| 32 | ); |
||
| 33 | } |
||
| 34 | |||
| 35 | function it_is_initializable(): void |
||
| 36 | { |
||
| 37 | $this->shouldHaveType(AttributeBuilder::class); |
||
| 38 | $this->shouldHaveType(AbstractBuilder::class); |
||
| 39 | } |
||
| 40 | |||
| 41 | function it_implements_property_builder_interface(): void |
||
| 44 | } |
||
| 45 | |||
| 46 | function it_consumes_event(TransformEvent $event): void |
||
| 51 |
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.