public function getResources() : array { if (null !== $this->resources) { return $this->resources; } $this->resources = []; foreach ($this->paths as $path) { $this->extractPath($path); } return $this->resources; }