protected function createPackageFolder($packagePath)
    {
        $this->info('Create package folder.');

        if (File::exists($packagePath)) {
            $this->info('Package folder already exists. Skipping.');

            return;
        }

        if (! File::makeDirectory($packagePath, 0755, true)) {
            throw new RuntimeException('Cannot create package folder');
        }

        $this->info('Package folder was successfully created.');
    }
protected function createPackageFolder($packagePath)
    {
        $this->info('Create package folder.');

        if (File::exists($packagePath)) {
            $this->info('Package folder already exists. Skipping.');

            return;
        }

        if (! File::makeDirectory($packagePath, 0755, true)) {
            throw new RuntimeException('Cannot create package folder');
        }

        $this->info('Package folder was successfully created.');
    }
protected function createPackageFolder ( $ packagePath ) { $ this -> info ( 'Create package folder.' ) ; if ( File :: exists ( $ packagePath ) ) { $ this -> info ( 'Package folder already exists. Skipping.' ) ; return ; } if ( ! File :: makeDirectory ( $ packagePath , 0755 , true ) ) { throw new RuntimeException ( 'Cannot create package folder' ) ; } $ this -> info ( 'Package folder was successfully created.' ) ; }
Create package folder.

@param string $packagePath

@throws RuntimeException
Create package folder .