decorated = $decorated; } /** * {@inheritdoc} */ public function getDefinitions() { return parent::getDefinitions() + $this->decorated->getDefinitions(); } /** * Passes through all unknown calls onto the decorated object. */ public function __call($method, $args) { return call_user_func_array([$this->decorated, $method], $args); } }