| 1 | <?php |
||
| 15 | class SiteAccess extends ValueObject implements JsonSerializable |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Name of the siteaccess. |
||
| 19 | * |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | public $name; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * The matching type that has been used to discover the siteaccess. |
||
| 26 | * Contains the matcher class FQN, or 'default' if fell back to the default siteaccess. |
||
| 27 | * |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | public $matchingType; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * The matcher instance that has been used to discover the siteaccess. |
||
| 34 | * |
||
| 35 | * @var \eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher |
||
| 36 | */ |
||
| 37 | public $matcher; |
||
| 38 | |||
| 39 | public function __construct($name = null, $matchingType = null, $matcher = null) |
||
| 45 | |||
| 46 | public function __toString() |
||
| 50 | |||
| 51 | public function jsonSerialize() |
||
| 61 | } |
||
| 62 |