src/Console/Command/TaskGeneratorCommand.php
protected function outputPath()
    {
        $source = $this->config
            ->getSourcePath()
        ;
        $destination = $this->ask('Where do you want to save the file? (Press enter for the current directory)');
        $outputPath = null !== $destination ? $destination : $source;

        if (!\file_exists($outputPath)) {
            \mkdir($outputPath, 0744, true);
        }

        return $outputPath;
    }
protected function outputPath()
    {
        $source = $this->config
            ->getSourcePath()
        ;
        $destination = $this->ask('Where do you want to save the file? (Press enter for the current directory)');
        $outputPath = null !== $destination ? $destination : $source;

        if (!\file_exists($outputPath)) {
            \mkdir($outputPath, 0744, true);
        }

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

@return string
Return the output path .