public function __construct(PathMapping $mapping, ModuleList $modules, PathMappingCollection $mappings, PathMappingCollection $mappingsByResource, ModuleConflictDetector $conflictDetector) { $this->mapping = $mapping; $this->modules = $modules; $this->mappings = $mappings; $this->mappingsByResource = $mappingsByResource; $this->conflictDetector = $conflictDetector; }