PHP 클래스 eZ\Bundle\EzPublishCoreBundle\Composer\ScriptHandler

상속: extends Sensio\Bundle\DistributionBundle\Composer\ScriptHandler
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

공개 메소드들

메소드 설명
clearCache ( Composer\Script\Event $event ) Clears the Symfony cache.
dumpAssets ( Composer\Script\Event $event ) Dump minified assets for prod environment under the web root directory.
dumpAssetsHelpText ( Composer\Script\Event $event ) Just dump help text on how to dump assets.
installWelcomeText ( Composer\Script\Event $event ) Just dump welcome text on how to install eZ Platform.

메소드 상세

clearCache() 공개 정적인 메소드

Overloaded to clear project containers first before booting up Symfony container as part of clearCache() => cache:clear call. Since this will crash with RuntimeException if bundles have been removed or added when for instance moving between git branches and running composer install/update afterwards.
public static clearCache ( Composer\Script\Event $event )
$event Composer\Script\Event

dumpAssets() 공개 정적인 메소드

Dump minified assets for prod environment under the web root directory.
public static dumpAssets ( Composer\Script\Event $event )
$event Composer\Script\Event Event A instance

dumpAssetsHelpText() 공개 정적인 메소드

Typically to use this instead on composer update as dump command uses prod environment where cache is not cleared, causing it to sometimes crash when cache needs to be cleared.
사용 중단: Will be made private in the future for use by dumpAssets.
public static dumpAssetsHelpText ( Composer\Script\Event $event )
$event Composer\Script\Event Event A instance

installWelcomeText() 공개 정적인 메소드

Just dump welcome text on how to install eZ Platform.
public static installWelcomeText ( Composer\Script\Event $event )
$event Composer\Script\Event Event A instance