Carew\Event\Listener\Terminate\Assets::onTerminate PHP Méthode

onTerminate() public méthode

public onTerminate ( CarewEvent $event )
$event Carew\Event\CarewEvent
    public function onTerminate(CarewEvent $event)
    {
        foreach ($this->themes as $theme) {
            $path = $theme . '/assets/';
            if (is_dir($path)) {
                $this->filesystem->mirror($path, $event['webDir'] . '/', null, array('override' => true));
            }
        }
    }