| 1 | <?php |
||
| 9 | class Link extends AbstractModel |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @JMS\Type("string") |
||
| 13 | * |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | protected $href; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @JMS\Type("string") |
||
| 20 | * |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | protected $rel; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @JMS\Type("string") |
||
| 27 | * |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | protected $method; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param string $href |
||
| 34 | */ |
||
| 35 | public function setHref($href) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return string |
||
| 42 | */ |
||
| 43 | public function getHref() |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @param string $method |
||
| 50 | */ |
||
| 51 | public function setMethod($method) |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @return string |
||
| 58 | */ |
||
| 59 | public function getMethod() |
||
| 63 | |||
| 64 | /** |
||
| 65 | * @param string $rel |
||
| 66 | */ |
||
| 67 | public function setRel($rel) |
||
| 71 | |||
| 72 | /** |
||
| 73 | * @return string |
||
| 74 | */ |
||
| 75 | public function getRel() |
||
| 79 | } |
||
| 80 |