Neos\Flow\Core\Bootstrap::buildCompiletimeSequence PHP Méthode

buildCompiletimeSequence() public méthode

This includes all of the "essentials" sequence.
public buildCompiletimeSequence ( ) : Sequence
Résultat Neos\Flow\Core\Booting\Sequence
    public function buildCompiletimeSequence()
    {
        $sequence = $this->buildEssentialsSequence('compiletime');
        $sequence->addStep(new Step('neos.flow:cachemanagement:forceflush', [Scripts::class, 'forceFlushCachesIfNecessary']), 'neos.flow:systemlogger');
        $sequence->addStep(new Step('neos.flow:objectmanagement:compiletime:create', [Scripts::class, 'initializeObjectManagerCompileTimeCreate']), 'neos.flow:systemlogger');
        $sequence->addStep(new Step('neos.flow:systemfilemonitor', [Scripts::class, 'initializeSystemFileMonitor']), 'neos.flow:objectmanagement:compiletime:create');
        $sequence->addStep(new Step('neos.flow:reflectionservice', [Scripts::class, 'initializeReflectionService']), 'neos.flow:systemfilemonitor');
        $sequence->addStep(new Step('neos.flow:objectmanagement:compiletime:finalize', [Scripts::class, 'initializeObjectManagerCompileTimeFinalize']), 'neos.flow:reflectionservice');
        return $sequence;
    }

Usage Example

 /**
  * Initializes the matching boot sequence depending on the type of the command
  * (RUNLEVEL_RUNTIME or RUNLEVEL_COMPILETIME) and manually injects the necessary dependencies of
  * this request handler.
  *
  * @param string $runlevel one of the Bootstrap::RUNLEVEL_* constants
  * @return void
  */
 protected function boot($runlevel)
 {
     $sequence = $runlevel === Bootstrap::RUNLEVEL_COMPILETIME ? $this->bootstrap->buildCompiletimeSequence() : $this->bootstrap->buildRuntimeSequence();
     $sequence->invoke($this->bootstrap);
     $this->objectManager = $this->bootstrap->getObjectManager();
     $this->dispatcher = $this->objectManager->get(Dispatcher::class);
 }