Crunz\Console\Command\TaskGeneratorCommand::outputPath PHP 메소드

outputPath() 보호된 메소드

Return the output path
protected outputPath ( ) : string
리턴 string
    protected function outputPath()
    {
        $destination = $this->ask('Where do you want to save the file? (Press enter for the current directory)');
        $output_path = !is_null($destination) ? $destination : generate_path($this->config('source'));
        if (!file_exists($output_path)) {
            mkdir($output_path, 0744, true);
        }
        return $output_path;
    }