1 | <?php |
||
25 | class ChannelReference extends Reference |
||
26 | { |
||
27 | const TYPE_CHANNEL = 'channel'; |
||
28 | const TYPE_CLASS = '\Commercetools\Core\Model\Channel\Channel'; |
||
29 | |||
30 | /** |
||
31 | * @param $id |
||
32 | * @param Context|callable $context |
||
33 | * @return ChannelReference |
||
34 | */ |
||
35 | 7 | public static function ofId($id, $context = null) |
|
39 | |||
40 | /** |
||
41 | * @param $key |
||
42 | * @param Context|callable $context |
||
43 | * @return ChannelReference |
||
44 | */ |
||
45 | public static function ofKey($key, $context = null) |
||
49 | } |
||
50 |