Laravelista\LumenVendorPublish\VendorPublishCommand::createParentDirectory PHP Method

createParentDirectory() protected method

Create the directory to house the published files if needed.
protected createParentDirectory ( string $directory ) : void
$directory string
return void
    protected function createParentDirectory($directory)
    {
        if (!$this->files->isDirectory($directory)) {
            $this->files->makeDirectory($directory, 0755, true);
        }
    }