public static function run($event)
    {
        static::$io = $event->getIO();
        static::$composer = $event->getComposer();

        // Set the root theme folder dir.
        static::set_root();

        // Display snap logo!
        static::write_intro();

        $strategy = static::$io->select(
            "\n<comment>Please choose a templating system for your theme:</comment>",
            static::$strategies,
            0
        );

        switch ($strategy) {
            case '0':
                static::$io->write("<info>Setup finished.\nEnjoy SnapWP!</info>");
                exit;
                break;

            case '1':
                static::install_blade();
                break;
        }
    }
public static function run($event)
    {
        static::$io = $event->getIO();
        static::$composer = $event->getComposer();

        // Set the root theme folder dir.
        static::set_root();

        // Display snap logo!
        static::write_intro();

        $strategy = static::$io->select(
            "\n<comment>Please choose a templating system for your theme:</comment>",
            static::$strategies,
            0
        );

        switch ($strategy) {
            case '0':
                static::$io->write("<info>Setup finished.\nEnjoy SnapWP!</info>");
                exit;
                break;

            case '1':
                static::install_blade();
                break;
        }
    }
public static function run ( $ event ) { static :: $ io = $ event -> getIO ( ) ; static :: $ composer = $ event -> getComposer ( ) ; // Set the root theme folder dir. static :: set_root ( ) ; // Display snap logo! static :: write_intro ( ) ; $ strategy = static :: $ io -> select ( "\n<comment>Please choose a templating system for your theme:</comment>" , static :: $ strategies , 0 ) ; switch ( $ strategy ) { case '0' : static :: $ io -> write ( "<info>Setup finished.\nEnjoy SnapWP!</info>" ) ; exit ; break ; case '1' : static :: install_blade ( ) ; break ; } }
Install a theme after create-project used in Composer.

@since 1.0.0

@param \Composer\Script\Event $event
Install a theme after create - project used in Composer .