public function mapToPath($className) { if (preg_match($this->_classMatchRegex, $className, $matches)) { return $this->_appDir . $this->_mappings[$matches[self::SUFFIX_POS]] . '/' . $matches[self::ACTION_POS] . '.php'; } }