public function getPaths() { return array_map(function (PuliResource $resource) { return $resource->getPath(); }, $this->resources); }