/** * Returns all path mappings set for the given module name. * * @param string $moduleName The module name. * * @return PathMapping[] The path mappings. * * @throws OutOfBoundsException If no path mapping was set for the * given module name. */ public function listByModuleName($moduleName) { if ($this->primaryKeysSorted) { $this->lazySortPrimaryKeys(); } return $this->map->listBySecondaryKey($moduleName); }