private function getLog($logPath, $hash) { $finder = $this->finderFactory->create()->files()->in($logPath)->name("{$hash}.log"); foreach ($finder as $file) { return $file; } }
protected function _getFinder() { include_once(LIMB_DIR . '/class/core/finders/FinderFactory.class.php'); return FinderFactory :: create('site_objects_raw_finder'); }
protected function _getFinder() { if ($this->finder) return $this->finder; include_once(LIMB_DIR . '/class/core/finders/FinderFactory.class.php'); $this->finder = FinderFactory :: create($this->finder_name); return $this->finder; }
protected function _getFinder() { include_once(LIMB_DIR . '/class/core/finders/FinderFactory.class.php'); return FinderFactory :: create('OneTableObjectsRawFinder'); }