Пример #1
0
 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);
     }
 }
Пример #2
0
 /**
  * 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;
 }