1 | <?php |
||
23 | class PaymentMethod extends BasePaymentMethod implements PaymentMethodInterface |
||
24 | { |
||
25 | /** |
||
26 | * @var Collection |
||
27 | */ |
||
28 | private $channels; |
||
29 | |||
30 | public function __construct() |
||
36 | |||
37 | /** |
||
38 | * {@inheritdoc} |
||
39 | */ |
||
40 | public function getChannels() |
||
44 | |||
45 | /** |
||
46 | * {@inheritdoc} |
||
47 | */ |
||
48 | public function hasChannel(BaseChannelInterface $channel) |
||
52 | |||
53 | /** |
||
54 | * {@inheritdoc} |
||
55 | */ |
||
56 | public function addChannel(BaseChannelInterface $channel) |
||
62 | |||
63 | /** |
||
64 | * {@inheritdoc} |
||
65 | */ |
||
66 | public function removeChannel(BaseChannelInterface $channel) |
||
72 | |||
73 | /** |
||
74 | * {@inheritdoc} |
||
75 | */ |
||
76 | public static function getTranslationClass() |
||
80 | } |
||
81 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@return
annotation as described here.