1 | <?php |
||
23 | class Matcher implements MatcherInterface |
||
24 | { |
||
25 | /** |
||
26 | * The available gateways |
||
27 | * |
||
28 | * @var array |
||
29 | */ |
||
30 | protected $gateways; |
||
31 | |||
32 | /** |
||
33 | * Constructor |
||
34 | * |
||
35 | * @param GatewayInterface[] $gateways |
||
36 | */ |
||
37 | public function __construct(array $gateways) |
||
41 | |||
42 | /** |
||
43 | * {@inheritDoc} |
||
44 | */ |
||
45 | public function match(SmsInterface $sms) |
||
63 | |||
64 | /** |
||
65 | * {@inheritDoc} |
||
66 | */ |
||
67 | public function supports(GatewayInterface $gateway) |
||
71 | } |
||
72 |