PHP Класс eZ\Bundle\EzPublishCoreBundle\Composer\ScriptHandler

Наследование: extends Sensio\Bundle\DistributionBundle\Composer\ScriptHandler
Показать файл Открыть проект

Открытые методы

Метод Описание
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