src/App.php
public static function installDependencies( Event $event ) {
		if ( ! defined( 'WPEMERGE_CLI_DIR' ) ) {
			define( 'WPEMERGE_CLI_DIR', dirname( __DIR__ ) );
		}

		$input = new ArrayInput( [ 'install:dependencies' ] );
		$output = new ConsoleOutput();

		try {
			$application = static::create();
			$command = $application->find('install:dependencies');
			$command->run( $input, $output );
		} catch ( RuntimeException $e ) {
			$event->getIO()->write( '<error>' . $e->getMessage() . '</error>' );
		}
	}
public static function installDependencies( Event $event ) {
		if ( ! defined( 'WPEMERGE_CLI_DIR' ) ) {
			define( 'WPEMERGE_CLI_DIR', dirname( __DIR__ ) );
		}

		$input = new ArrayInput( [ 'install:dependencies' ] );
		$output = new ConsoleOutput();

		try {
			$application = static::create();
			$command = $application->find('install:dependencies');
			$command->run( $input, $output );
		} catch ( RuntimeException $e ) {
			$event->getIO()->write( '<error>' . $e->getMessage() . '</error>' );
		}
	}
public static function installDependencies ( Event $ event ) { if ( ! defined ( 'WPEMERGE_CLI_DIR' ) ) { define ( 'WPEMERGE_CLI_DIR' , dirname ( __DIR__ ) ) ; } $ input = new ArrayInput ( [ 'install:dependencies' ] ) ; $ output = new ConsoleOutput ( ) ; try { $ application = static :: create ( ) ; $ command = $ application -> find ( 'install:dependencies' ) ; $ command -> run ( $ input , $ output ) ; } catch ( RuntimeException $ e ) { $ event -> getIO ( ) -> write ( '<error>' . $ e -> getMessage ( ) . '</error>' ) ; } }
Install dependencies in the theme root directory.

@param  Event $event
@return void
Install dependencies in the theme root directory .