1<?php namespace ILIAS\GlobalScreen\Scope\MainMenu\Factory; 2 3use ILIAS\GlobalScreen\Identification\IdentificationInterface; 4 5/** 6 * Interface isChild 7 * @author Fabian Schmid <fs@studer-raimann.ch> 8 */ 9interface isChild extends isItem 10{ 11 12 /** 13 * As a developer, you provide the standard-parent Item while creating your items. 14 * Please note that the effective parent can be changed by configuration. 15 * @param IdentificationInterface $identification 16 * @return isItem 17 */ 18 public function withParent(IdentificationInterface $identification) : isItem; 19 20 /** 21 * @return bool 22 */ 23 public function hasParent() : bool; 24 25 /** 26 * @return IdentificationInterface 27 */ 28 public function getParent() : IdentificationInterface; 29 30 /** 31 * @param IdentificationInterface $identification 32 * @return isChild 33 */ 34 public function overrideParent(IdentificationInterface $identification) : isChild; 35} 36