Bosnadev\Repositories\Console\Commands\Creators\RepositoryCreator::createDirectory PHP Method

createDirectory() protected method

protected createDirectory ( )
    protected function createDirectory()
    {
        // Directory.
        $directory = $this->getDirectory();
        // Check if the directory exists.
        if (!$this->files->isDirectory($directory)) {
            // Create the directory if not.
            $this->files->makeDirectory($directory, 0755, true);
        }
    }