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;
    }