| 1 | <?php |
||
| 17 | class RelationListItem implements RelationListItemInterface |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var \eZ\Publish\API\Repository\Values\Content\Relation |
||
| 21 | */ |
||
| 22 | private $relation; |
||
| 23 | |||
| 24 | public function __construct(Relation $relation) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return \eZ\Publish\API\Repository\Values\Content\Relation|null |
||
| 31 | */ |
||
| 32 | public function getRelation(): ?Relation |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return bool |
||
| 39 | */ |
||
| 40 | public function hasRelation(): bool |
||
| 44 | } |
||
| 45 |