| 1 | <?php |
||
| 19 | class CoordinateLocation implements LocationInterface |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var Coordinate |
||
| 23 | */ |
||
| 24 | private $coordinate; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param Coordinate $coordinate |
||
| 28 | */ |
||
| 29 | public function __construct(Coordinate $coordinate) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return Coordinate |
||
| 36 | */ |
||
| 37 | public function getCoordinate() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @param Coordinate $coordinate |
||
| 44 | */ |
||
| 45 | public function setCoordinate(Coordinate $coordinate) |
||
| 49 | |||
| 50 | /** |
||
| 51 | * {@inheritdoc} |
||
| 52 | */ |
||
| 53 | public function build() |
||
| 57 | } |
||
| 58 |