PHP 클래스 Neos\Flow\Command\CacheCommandController

NOTE: This command controller will run in compile time (as defined in the package bootstrap)
상속: extends Neos\Flow\Cli\CommandController
파일 보기 프로젝트 열기: neos/flow-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$bootstrap Neos\Flow\Core\Bootstrap
$cacheManager Neos\Flow\Cache\CacheManager
$environment Neos\Flow\Utility\Environment
$lockManager Neos\Flow\Core\LockManager
$objectManager Neos\Flow\ObjectManagement\ObjectManager
$packageManager Neos\Flow\Package\PackageManagerInterface

공개 메소드들

메소드 설명
emitWarmupCaches ( ) : void Signals that caches should be warmed up.
flushCommand ( boolean $force = false ) : void Flush all caches
flushOneCommand ( string $identifier ) : void Flushes a particular cache by its identifier
injectBootstrap ( Bootstrap $bootstrap ) : void
injectCacheManager ( CacheManager $cacheManager ) : void
injectEnvironment ( Environment $environment ) : void
injectLockManager ( LockManager $lockManager ) : void
injectObjectManager ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : void
injectPackageManager ( Neos\Flow\Package\PackageManagerInterface $packageManager ) : void
sysCommand ( integer $address ) : void Call system function
warmupCommand ( ) : void Warm up caches

메소드 상세

emitWarmupCaches() 공개 메소드

Other application parts may subscribe to this signal and execute additional tasks for preparing the application for the first request.
public emitWarmupCaches ( ) : void
리턴 void

flushCommand() 공개 메소드

The flush command flushes all caches (including code caches) which have been registered with Flow's Cache Manager. It also removes any session data. If fatal errors caused by a package prevent the compile time bootstrap from running, the removal of any temporary data can be forced by specifying the option --force. This command does not remove the precompiled data provided by frozen packages unless the --force option is used.
public flushCommand ( boolean $force = false ) : void
$force boolean Force flushing of any temporary data
리턴 void

flushOneCommand() 공개 메소드

Given a cache identifier, this flushes just that one cache. To find the cache identifiers, you can use the configuration:show command with the type set to "Caches". Note that this does not have a force-flush option since it's not meant to remove temporary code data, resulting into a broken state if code files lack.
public flushOneCommand ( string $identifier ) : void
$identifier string Cache identifier to flush cache for
리턴 void

injectBootstrap() 공개 메소드

public injectBootstrap ( Bootstrap $bootstrap ) : void
$bootstrap Neos\Flow\Core\Bootstrap
리턴 void

injectCacheManager() 공개 메소드

public injectCacheManager ( CacheManager $cacheManager ) : void
$cacheManager Neos\Flow\Cache\CacheManager
리턴 void

injectEnvironment() 공개 메소드

public injectEnvironment ( Environment $environment ) : void
$environment Neos\Flow\Utility\Environment
리턴 void

injectLockManager() 공개 메소드

public injectLockManager ( LockManager $lockManager ) : void
$lockManager Neos\Flow\Core\LockManager
리턴 void

injectObjectManager() 공개 메소드

public injectObjectManager ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : void
$objectManager Neos\Flow\ObjectManagement\ObjectManagerInterface
리턴 void

injectPackageManager() 공개 메소드

public injectPackageManager ( Neos\Flow\Package\PackageManagerInterface $packageManager ) : void
$packageManager Neos\Flow\Package\PackageManagerInterface
리턴 void

sysCommand() 공개 메소드

Call system function
public sysCommand ( integer $address ) : void
$address integer
리턴 void

warmupCommand() 공개 메소드

The warm up caches command initializes and fills – as far as possible – all registered caches to get a snappier response on the first following request. Apart from caches, other parts of the application may hook into this command and execute tasks which take further steps for preparing the app for the big rush.
public warmupCommand ( ) : void
리턴 void

프로퍼티 상세

$bootstrap 보호되어 있는 프로퍼티

protected Bootstrap,Neos\Flow\Core $bootstrap
리턴 Neos\Flow\Core\Bootstrap

$cacheManager 보호되어 있는 프로퍼티

protected CacheManager,Neos\Flow\Cache $cacheManager
리턴 Neos\Flow\Cache\CacheManager

$environment 보호되어 있는 프로퍼티

protected Environment,Neos\Flow\Utility $environment
리턴 Neos\Flow\Utility\Environment

$lockManager 보호되어 있는 프로퍼티

protected LockManager,Neos\Flow\Core $lockManager
리턴 Neos\Flow\Core\LockManager

$objectManager 보호되어 있는 프로퍼티

protected ObjectManager,Neos\Flow\ObjectManagement $objectManager
리턴 Neos\Flow\ObjectManagement\ObjectManager

$packageManager 보호되어 있는 프로퍼티

protected PackageManagerInterface,Neos\Flow\Package $packageManager
리턴 Neos\Flow\Package\PackageManagerInterface