| 1 | <?php |
||
| 7 | class ExternalServiceSource implements ExternalService |
||
| 8 | { |
||
| 9 | /** @var ExternalServiceId */ |
||
| 10 | protected $id; |
||
| 11 | /** @var string */ |
||
| 12 | private $name; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * ExternalServiceSource constructor. |
||
| 16 | * |
||
| 17 | * @param ExternalServiceId $id |
||
| 18 | * @param string $name |
||
| 19 | */ |
||
| 20 | public function __construct(ExternalServiceId $id, $name) |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @return ExternalServiceId |
||
| 28 | */ |
||
| 29 | public function getId() |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return string |
||
| 36 | */ |
||
| 37 | public function getName() |
||
| 41 | } |
||
| 42 |