Bolt\Configuration\Environment::syncViewDirectory PHP Метод

syncViewDirectory() защищенный Метод

Synchronise the files in an app/view/ subdirectory.
protected syncViewDirectory ( string $dir )
$dir string
    protected function syncViewDirectory($dir)
    {
        if ($this->viewPath === $this->appPath . '/view') {
            return;
        }
        $source = $this->appPath . '/view/' . $dir;
        $target = $this->viewPath . '/' . $dir;
        // Mirror source and destination, overwrite existing file and clean up removed files
        $this->filesystem->mirror($source, $target, null, ['override' => true, 'delete' => true]);
    }