1 | <?php |
||
21 | final class ProductVariantsParityChecker implements ProductVariantsParityCheckerInterface |
||
22 | { |
||
23 | /** |
||
24 | * {@inheritdoc} |
||
25 | */ |
||
26 | public function checkParity(ProductVariantInterface $variant, ProductInterface $product) |
||
41 | |||
42 | /** |
||
43 | * @param ProductVariantInterface $variant |
||
44 | * @param ProductVariantInterface $existingVariant |
||
45 | * |
||
46 | * @return bool |
||
47 | */ |
||
48 | private function matchOptions(ProductVariantInterface $variant, ProductVariantInterface $existingVariant) |
||
58 | } |
||
59 |
This check examines a number of code elements and verifies that they conform to the given naming conventions.
You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.