| 1 | <?php  | 
            ||
| 15 | class SlackGateway extends Gateway  | 
            ||
| 16 | { | 
            ||
| 17 | /**  | 
            ||
| 18 | * @var Client  | 
            ||
| 19 | */  | 
            ||
| 20 | private $client;  | 
            ||
| 21 | |||
| 22 | /**  | 
            ||
| 23 | * @param Client $client  | 
            ||
| 24 | */  | 
            ||
| 25 | 1 | public function __construct(Client $client)  | 
            |
| 29 | |||
| 30 | /**  | 
            ||
| 31 |      * {@inheritdoc} | 
            ||
| 32 | */  | 
            ||
| 33 | 1 | protected function doSend(Notification $notification): void  | 
            |
| 51 | |||
| 52 | /**  | 
            ||
| 53 |      * {@inheritdoc} | 
            ||
| 54 | */  | 
            ||
| 55 | 1 | public function sendsToDestination(Destination $destination): bool  | 
            |
| 59 | }  | 
            ||
| 60 |