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