public function set($id, $definition)
	{
	    if (is_numeric($id)) {
	        $id = is_string($definition) ? $definition : $definition['class'];
	    }
	    $this->_definitions[$id] = $definition;
	    return $this;
	}
public function set($id, $definition)
	{
	    if (is_numeric($id)) {
	        $id = is_string($definition) ? $definition : $definition['class'];
	    }
	    $this->_definitions[$id] = $definition;
	    return $this;
	}
public function set ( $ id , $ definition ) { if ( is_numeric ( $ id ) ) { $ id = is_string ( $ definition ) ? $ definition : $ definition [ 'class' ] ; } $ this -> _definitions [ $ id ] = $ definition ; return $ this ; }
set component definition with id, delay create instance
@param string $id
@param mixed  $definition
@return static
set component definition with id delay create instance