PHP Class Yosymfony\Spress\Console\Application

Author: Victor Puertas ([email protected])
Inheritance: extends Symfony\Component\Console\Application
Afficher le fichier Open project: spress/spress

Méthodes publiques

Méthode 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 méthode

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

getClassloader() public méthode

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

getEmbeddedComposer() public méthode

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

getSpress() public méthode

- Default configuration.
public getSpress ( ) : Spress
Résultat Yosymfony\Spress\Core\Spress The Spress instance

registerCommandPlugins() public méthode

Registers the command plugins present in the current directory.

registerStandardCommands() public méthode

Registers the standard commands of Spress.