InfyOm\Generator\Commands\Publish\PublishBaseCommand::publishFile PHP Метод

publishFile() публичный Метод

public publishFile ( $sourceFile, $destinationFile, $fileName )
    public function publishFile($sourceFile, $destinationFile, $fileName)
    {
        if (file_exists($destinationFile) && !$this->confirmOverwrite($destinationFile)) {
            return;
        }
        copy($sourceFile, $destinationFile);
        $this->comment($fileName . ' published');
        $this->info($destinationFile);
    }