| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | final class AttributeTaxonsBuilderSpec extends ObjectBehavior |
||
| 24 | { |
||
| 25 | function let( |
||
|
|
|||
| 26 | ProductAttributeValueRepositoryInterface $productAttributeValueRepository, |
||
| 27 | ProductTaxonsMapperInterface $productTaxonsMapper |
||
| 28 | ): void { |
||
| 29 | $this->beConstructedWith( |
||
| 30 | $productAttributeValueRepository, |
||
| 31 | $productTaxonsMapper, |
||
| 32 | 'attribute', |
||
| 33 | 'taxons' |
||
| 34 | ); |
||
| 35 | } |
||
| 36 | |||
| 37 | function it_is_initializable(): void |
||
| 41 | } |
||
| 42 | |||
| 43 | function it_implements_property_builder_interface(): void |
||
| 44 | { |
||
| 45 | $this->shouldHaveType(PropertyBuilderInterface::class); |
||
| 46 | } |
||
| 47 | |||
| 48 | function it_consumes_event(TransformEvent $event): void |
||
| 51 | } |
||
| 52 | } |
||
| 53 |
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.