| 1 | <?php |
||
| 5 | trait RouteConditionTrait |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | protected $host; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | protected $name; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | protected $scheme; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Get the host. |
||
| 24 | * |
||
| 25 | * @return string |
||
| 26 | */ |
||
| 27 | 18 | public function getHost() |
|
| 31 | |||
| 32 | /** |
||
| 33 | * Set the host. |
||
| 34 | * |
||
| 35 | * @param string $host |
||
| 36 | * |
||
| 37 | * @return \League\Route\Route |
||
| 38 | */ |
||
| 39 | 9 | public function setHost($host) |
|
| 45 | |||
| 46 | /** |
||
| 47 | * Get the name. |
||
| 48 | * |
||
| 49 | * @return string |
||
| 50 | */ |
||
| 51 | 21 | public function getName() |
|
| 55 | |||
| 56 | /** |
||
| 57 | * Set the name. |
||
| 58 | * |
||
| 59 | * @param string $name |
||
| 60 | * |
||
| 61 | * @return \League\Route\Route |
||
| 62 | */ |
||
| 63 | 12 | public function setName($name) |
|
| 69 | |||
| 70 | /** |
||
| 71 | * Get the scheme. |
||
| 72 | * |
||
| 73 | * @return string |
||
| 74 | */ |
||
| 75 | 18 | public function getScheme() |
|
| 79 | |||
| 80 | /** |
||
| 81 | * Set the scheme. |
||
| 82 | * |
||
| 83 | * @param string $scheme |
||
| 84 | * |
||
| 85 | * @return \League\Route\Route |
||
| 86 | */ |
||
| 87 | 9 | public function setScheme($scheme) |
|
| 93 | } |
||
| 94 |