/** * Generate path from name * @param string $name * @return string * @throws \InvalidArgumentException */ protected function _generatePathFromFormattedName($name) { if (!is_string($name)) { throw new \InvalidArgumentException('name'); } return \Jazz\File::appendExtension($this->getPath() . $name, $this->getExtension()); }