PHP Interface CraftCli\Command\NeedsCraftInterface

Datei anzeigen Open project: rsanchez/craft-cli

Public Methods

Method Description
setAppPath ( string $path ) Set Craft app path
setBasePath ( string $path ) Set Craft base path
setConfigPath ( string $path ) Set Craft config path
setCraft ( Craft\ConsoleApp $craft ) Set Craft app instance
setEnvironment ( string $environment ) Set Craft environment
setPluginsPath ( string $path ) Set Craft plugins path
setStoragePath ( string $path ) Set Craft storage path
setTemplatesPath ( string $path ) Set Craft templates path
setTranslationsPath ( string $path ) Set Craft translations path

Method Details

setAppPath() public method

Set Craft app path
public setAppPath ( string $path )
$path string

setBasePath() public method

Set Craft base path
public setBasePath ( string $path )
$path string

setConfigPath() public method

Set Craft config path
public setConfigPath ( string $path )
$path string

setCraft() public method

Set Craft app instance
public setCraft ( Craft\ConsoleApp $craft )
$craft Craft\ConsoleApp

setEnvironment() public method

Set Craft environment
public setEnvironment ( string $environment )
$environment string

setPluginsPath() public method

Set Craft plugins path
public setPluginsPath ( string $path )
$path string

setStoragePath() public method

Set Craft storage path
public setStoragePath ( string $path )
$path string

setTemplatesPath() public method

Set Craft templates path
public setTemplatesPath ( string $path )
$path string

setTranslationsPath() public method

Set Craft translations path
public setTranslationsPath ( string $path )
$path string