private function searchPathsForHandlers() { if ($this->pathSearchPerformed) { return; } $this->pathSearchPerformed = true; $this->searchPathForHandlers($this->systemPaths->getActivityLog(), 'ActivityLog'); $this->searchPathForHandlers($this->systemPaths->getModels(), 'Model'); foreach ($this->paths as $path => $namespacePrefix) { $this->searchPathForHandlers($path, $namespacePrefix); } }
/** * Returns table metadata filesystem path. * * @return string */ public function getTableMetadataPath() { if (null === $this->tableMetadataPath) { $paths = new Paths(); $this->tableMetadataPath = $paths->getModels() . '/metadata'; } return $this->tableMetadataPath; }