CacheClearCommand
final class CacheClearCommand extends Command (View source)
Traits
A copy of \Drupal\Core\DependencyInjection\AutowireTrait with first params' type hint changed.
Constants
| NAME |
|
| EVENT_CLEAR |
|
Methods
Instantiates a new instance of the implementing class using autowiring.
No description
No description
No description
No description
Types of caches available for clearing. Listeners can add their own.
Clear one or more cache bins.
No description
No description
No description
No description
Clears the render cache entries.
No description
No description
Details
static AutowireTrait
create(ContainerInterface $container)
Instantiates a new instance of the implementing class using autowiring.
__construct(CacheFactoryInterface $cacheFactory, CacheTagsInvalidatorInterface $invalidator, Registry $themeRegistry, RouteBuilderInterface $routerBuilder, JsCollectionOptimizerLazy $jsOptimizer, $cssOptimizer, CachedDiscoveryClearerInterface $pluginCacheClearer, BootstrapManager $bootstrapManager, AssetQueryStringInterface $assetQueryString, EventDispatcherInterface $eventDispatcher, LoggerInterface $logger)
No description
protected void
configure()
No description
protected void
interact(InputInterface $input, OutputInterface $output)
No description
int
execute(InputInterface $input, OutputInterface $output)
No description
array
getTypes()
Types of caches available for clearing. Listeners can add their own.
void
clearBins($args = ['default'])
Clear one or more cache bins.
void
clearThemeRegistry()
No description
void
clearRouter()
No description
void
clearCssJs()
No description
void
clearContainer()
No description
void
clearRender()
Clears the render cache entries.
void
clearPlugin()
No description
void
clearViews()
No description