public function __construct(tubepress_api_ioc_DefinitionInterface $tubePressDefinition)
 {
     $this->_delegate = $tubePressDefinition;
     parent::__construct($tubePressDefinition->getClass(), $tubePressDefinition->getArguments());
     $this->setClass($this->_delegate->getClass());
     $this->setArguments($this->_delegate->getArguments());
 }
示例#2
0
 /**
  * Constructor.
  *
  * @param string $parent The id of ehough_iconic_Definition instance to decorate.
  *
  * @api
  */
 public function __construct($parent)
 {
     parent::__construct();
     $this->parent = $parent;
 }