예제 #1
0
 /**
  * Retrieve list of all entities in given path
  *
  * @param string|null $path
  * @return string[]
  */
 public function read($path = null)
 {
     $files = $this->driver->readDirectory($this->driver->getAbsolutePath($this->path, $path));
     $result = [];
     foreach ($files as $file) {
         $result[] = $this->getRelativePath($file);
     }
     return $result;
 }