public static function start(&$config)
    {
        $config = array_merge(array(
        
            // directory where scripts are stored
            'scripts_dir'    => 'app/scripts'
            
        ), $config);
        self::$config = &$config;

        self::$console = new ConsoleKit\Console();
        self::$console->addCommand('Atomik\Console::generate');
        
        // checks if we are in the CLI
        if (PHP_SAPI !== 'cli') {
            return false;
        }
    }
public static function start(&$config)
    {
        $config = array_merge(array(
        
            // directory where scripts are stored
            'scripts_dir'    => 'app/scripts'
            
        ), $config);
        self::$config = &$config;

        self::$console = new ConsoleKit\Console();
        self::$console->addCommand('Atomik\Console::generate');
        
        // checks if we are in the CLI
        if (PHP_SAPI !== 'cli') {
            return false;
        }
    }
public static function start ( & $ config ) { $ config = array_merge ( array ( // directory where scripts are stored 'scripts_dir' => 'app/scripts' ) , $ config ) ; self :: $ config = & $ config ; self :: $ console = new ConsoleKit \ Console ( ) ; self :: $ console -> addCommand ( 'Atomik\Console::generate' ) ; // checks if we are in the CLI if ( PHP_SAPI !== 'cli' ) { return false ; } }
Checks we're in console mode

@param array $config
@return bool
Checks we re in console mode