src/Raikiri/Container.php
public function getComponentDefine($setting = array())
    {
        if (is_string($setting)) {
            $setting = array('class' => $setting);
        }
        $define = new ComponentDefine($setting);
        return $define;
    }
public function getComponentDefine($setting = array())
    {
        if (is_string($setting)) {
            $setting = array('class' => $setting);
        }
        $define = new ComponentDefine($setting);
        return $define;
    }
public function getComponentDefine ( $ setting = array ( ) ) { if ( is_string ( $ setting ) ) { $ setting = array ( 'class' => $ setting ) ; } $ define = new ComponentDefine ( $ setting ) ; return $ define ; }
get define instance

@param   mixed   $setting
@return  Samurai\Raikiri\ComponentDefine
get define instance