src/Ease/Container.php
public function raise(&$childObject, $itemsToRaise = null)
    {
        if (!$itemsToRaise) {
            $itemsToRaise = $childObject->raiseItems;
        }

        foreach ($itemsToRaise as $method => $property) {
            if (method_exists($childObject, $method)) {
                if (isset($this->$property)) {
                    $childObject->$method($this->$property);
                }
            } else {
                if (isset($this->$property)) {
                    $childObject->$property = &$this->$property;
                }
            }
        }
    }
public function raise(&$childObject, $itemsToRaise = null)
    {
        if (!$itemsToRaise) {
            $itemsToRaise = $childObject->raiseItems;
        }

        foreach ($itemsToRaise as $method => $property) {
            if (method_exists($childObject, $method)) {
                if (isset($this->$property)) {
                    $childObject->$method($this->$property);
                }
            } else {
                if (isset($this->$property)) {
                    $childObject->$property = &$this->$property;
                }
            }
        }
    }
Projde $this->raiseItems (metoda_potomka=>proměnná_rodiče) a pokud v
objektu najde metodu potomka, zavolá jí s parametrem
$this->proměnná_rodiče.

@param object $childObject  vkládaný objekt
@param array  $itemsToRaise pole položek k "protlačení"