PHP 클래스 Contao\CoreBundle\Composer\ScriptHandler

파일 보기 프로젝트 열기: contao/core-bundle 1 사용 예제들

공개 메소드들

메소드 설명
addDirectories ( Composer\Script\Event $event ) Adds the Contao directories.
generateRandomSecret ( Composer\Script\Event $event ) Sets the environment variable for the random secret.
generateSymlinks ( Composer\Script\Event $event ) Generates the symlinks.

비공개 메소드들

메소드 설명
canGenerateSecret ( array $config ) : boolean Checks if there is at least one config file defined but none of the files exists.
executeCommand ( string $cmd, Composer\Script\Event $event ) Executes a command.
getBinDir ( Composer\Script\Event $event ) : string Returns the bin directory.
getVerbosityFlag ( Composer\Script\Event $event ) : string Returns the verbosity flag depending on the console IO verbosity.
getWebDir ( Composer\Script\Event $event ) : string Returns the web directory.
loadRandomCompat ( Composer\Script\Event $event ) Loads the random_compat library.

메소드 상세

addDirectories() 공개 정적인 메소드

Adds the Contao directories.
public static addDirectories ( Composer\Script\Event $event )
$event Composer\Script\Event

generateRandomSecret() 공개 정적인 메소드

Sets the environment variable for the random secret.
public static generateRandomSecret ( Composer\Script\Event $event )
$event Composer\Script\Event