| 1 | <?php |
||
| 19 | class DirectionsTransitStop |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var string|null |
||
| 23 | */ |
||
| 24 | private $name; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var Coordinate|null |
||
| 28 | */ |
||
| 29 | private $location; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @return bool |
||
| 33 | */ |
||
| 34 | public function hasName() |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return string|null |
||
| 41 | */ |
||
| 42 | public function getName() |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @param string|null $name |
||
| 49 | */ |
||
| 50 | public function setName($name) |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @return bool |
||
| 57 | */ |
||
| 58 | public function hasLocation() |
||
| 62 | |||
| 63 | /** |
||
| 64 | * @return Coordinate|null |
||
| 65 | */ |
||
| 66 | public function getLocation() |
||
| 70 | |||
| 71 | /** |
||
| 72 | * @param Coordinate|null $location |
||
| 73 | */ |
||
| 74 | public function setLocation(Coordinate $location = null) |
||
| 78 | } |
||
| 79 |