public function addDynamic($name, $factory, $createDefault = 0, $forceDefault = false)
    {
        $control = new RContainer($factory, $createDefault, $forceDefault);
        $control->currentGroup = $this->currentGroup;
        return $this[$name] = $control;
    }
public function addDynamic($name, $factory, $createDefault = 0, $forceDefault = false)
    {
        $control = new RContainer($factory, $createDefault, $forceDefault);
        $control->currentGroup = $this->currentGroup;
        return $this[$name] = $control;
    }
public function addDynamic ( $ name , $ factory , $ createDefault = 0 , $ forceDefault = false ) { $ control = new RContainer ( $ factory , $ createDefault , $ forceDefault ) ; $ control -> currentGroup = $ this -> currentGroup ; return $ this [ $ name ] = $ control ; }
Adds replicable container
@param $name
@param $factory
@param int $createDefault
@param bool $forceDefault
@return Container
Adds replicable container