Platformsh\Cli\Local\Toolstack\ToolstackBase::copyToBuildDir PHP Метод

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

Copy, or symlink, files from the app root to the build directory.
protected copyToBuildDir ( ) : string
Результат string The absolute path to the build directory where files have been copied.
    protected function copyToBuildDir()
    {
        $this->buildInPlace = true;
        $buildDir = $this->buildDir;
        if ($this->app->shouldMoveToRoot()) {
            $buildDir .= '/' . $this->documentRoot;
        }
        if (!empty($this->settings['clone'])) {
            $this->cloneToBuildDir($buildDir);
        } elseif ($this->copy) {
            $this->fsHelper->copyAll($this->appRoot, $buildDir, $this->ignoredFiles, true);
        } else {
            $this->fsHelper->symlink($this->appRoot, $buildDir);
        }
        return $buildDir;
    }