Conditions | 1 |
Paths | 1 |
Total Lines | 24 |
Code Lines | 18 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
32 | public static function methodRules() |
||
33 | { |
||
34 | return [ |
||
35 | 'getIdFieldName1c' => [ |
||
36 | 'return' => 'string', |
||
37 | 'auto' => true |
||
38 | ], |
||
39 | 'createModel1c' => [ |
||
40 | 'return' => 'interface', |
||
41 | 'value' => '\carono\exchange1c\interfaces\ProductInterface', |
||
42 | 'params' => ['cml.catalog.products.0'] |
||
43 | ], |
||
44 | 'getOffer1c' => [ |
||
45 | 'return' => 'interface', |
||
46 | 'value' => '\carono\exchange1c\interfaces\OfferInterface', |
||
47 | 'params' => ['cml.offerPackage.offers.0'] |
||
48 | ], |
||
49 | 'setGroup1c' => [ |
||
50 | 'return' => '', |
||
51 | 'params' => ['cml.catalog.products.0.group'] |
||
52 | ], |
||
53 | 'getGroup1c' => [ |
||
54 | 'return' => 'interface', |
||
55 | 'value' => '\carono\exchange1c\interfaces\GroupInterface' |
||
56 | ] |
||
59 | } |