protected function makeFilePath($folder, $name)
    {
        $folder = ltrim($folder, '\/');
        $folder = rtrim($folder, '\/');

        $name = ltrim($name, '\/');
        $name = rtrim($name, '\/');

        if ($this->packageInfo->get('type') == 'module') {
            return $this->packagesPath .DS .$this->packageInfo->get('basename') .DS .$folder .DS .$name;
        }

        return $this->packagesPath .DS .$this->packageInfo->get('basename') .DS .'src' .DS .$folder .DS .$name;
    }
protected function makeFilePath($folder, $name)
    {
        $folder = ltrim($folder, '\/');
        $folder = rtrim($folder, '\/');

        $name = ltrim($name, '\/');
        $name = rtrim($name, '\/');

        if ($this->packageInfo->get('type') == 'module') {
            return $this->packagesPath .DS .$this->packageInfo->get('basename') .DS .$folder .DS .$name;
        }

        return $this->packagesPath .DS .$this->packageInfo->get('basename') .DS .'src' .DS .$folder .DS .$name;
    }
protected function makeFilePath ( $ folder , $ name ) { $ folder = ltrim ( $ folder , '\/' ) ; $ folder = rtrim ( $ folder , '\/' ) ; $ name = ltrim ( $ name , '\/' ) ; $ name = rtrim ( $ name , '\/' ) ; if ( $ this -> packageInfo -> get ( 'type' ) == 'module' ) { return $ this -> packagesPath . DS . $ this -> packageInfo -> get ( 'basename' ) . DS . $ folder . DS . $ name ; } return $ this -> packagesPath . DS . $ this -> packageInfo -> get ( 'basename' ) . DS . 'src' . DS . $ folder . DS . $ name ; }
Make FilePath.

@param string $folder
@param string $name

@return string
Make FilePath .