Laralib\L5scaffold\Makes\MakerTrait::makeDirectory PHP Method

makeDirectory() protected method

Build the directory for the class if necessary.
protected makeDirectory ( string $path ) : string
$path string
return string
    protected function makeDirectory($path)
    {
        if (!$this->files->isDirectory(dirname($path))) {
            $this->files->makeDirectory(dirname($path), 0777, true, true);
        }
    }