src/Aindong/Pluggables/Handlers/PluggableMakeHandler.php
/**
     * Generate defined pluggable folders.
     *
     * @return void
     */
Generate defined pluggable folders.
@return void
Generate defined pluggable folders . @return void
protected function generateFolders()
    {
        if (!$this->finder->isDirectory($this->pluggable->getPath())) {
            $this->finder->makeDirectory($this->pluggable->getPath());
        }
        $this->finder->makeDirectory($this->getPluggablePath($this->slug, true));
        foreach ($this->folders as $folder) {
            $this->finder->makeDirectory($this->getPluggablePath($this->slug).$folder);
        }
    }
protected function generateFolders ( ) { if ( ! $ this -> finder -> isDirectory ( $ this -> pluggable -> getPath ( ) ) ) { $ this -> finder -> makeDirectory ( $ this -> pluggable -> getPath ( ) ) ; } $ this -> finder -> makeDirectory ( $ this -> getPluggablePath ( $ this -> slug , true ) ) ; foreach ( $ this -> folders as $ folder ) { $ this -> finder -> makeDirectory ( $ this -> getPluggablePath ( $ this -> slug ) . $ folder ) ; } }
Generate defined pluggable folders.
Generate defined pluggable folders .