PHP Class Yosymfony\Spress\Console\Application

Author: Victor Puertas ([email protected])
Inheritance: extends Symfony\Component\Console\Application
显示文件 Open project: spress/spress

Public Methods

Method Description
__construct ( Composer\Autoload\ClassLoader $classloader ) Constructor.
getClassloader ( ) : Composer\Autoload\ClassLoader Returns the Composer's classloader.
getEmbeddedComposer ( $siteDir, $composerFilename, $vendorDir ) : Dflydev\EmbeddedComposer\Core\EmbeddedComposer Returns an EmbeddedComposer instance.
getSpress ( ) : Spress Returns an Spress instance with the minimum configuration: - Classloader.
registerCommandPlugins ( ) Registers the command plugins present in the current directory.
registerStandardCommands ( ) Registers the standard commands of Spress.

Method Details

__construct() public method

Constructor.
public __construct ( Composer\Autoload\ClassLoader $classloader )
$classloader Composer\Autoload\ClassLoader Composer Class Loader

getClassloader() public method

Returns the Composer's classloader.
public getClassloader ( ) : Composer\Autoload\ClassLoader
return Composer\Autoload\ClassLoader The classloader

getEmbeddedComposer() public method

Returns an EmbeddedComposer instance.
public getEmbeddedComposer ( $siteDir, $composerFilename, $vendorDir ) : Dflydev\EmbeddedComposer\Core\EmbeddedComposer
return Dflydev\EmbeddedComposer\Core\EmbeddedComposer

getSpress() public method

- Default configuration.
public getSpress ( ) : Spress
return Yosymfony\Spress\Core\Spress The Spress instance

registerCommandPlugins() public method

Registers the command plugins present in the current directory.

registerStandardCommands() public method

Registers the standard commands of Spress.