src/ViewMakeCommand.php
protected function makeDirectory($path)
    {
        $dir = dirname($path);

        if (!file_exists($dir)) {
            mkdir($dir, 0777, true);
        }
    }
protected function makeDirectory($path)
    {
        $dir = dirname($path);

        if (!file_exists($dir)) {
            mkdir($dir, 0777, true);
        }
    }
protected function makeDirectory ( $ path ) { $ dir = dirname ( $ path ) ; if ( ! file_exists ( $ dir ) ) { mkdir ( $ dir , 0777 , true ) ; } }
Create the directory for the view if it does not already exist.

@param  string $path The full path of the view file.
@return void
Create the directory for the view if it does not already exist .