예제 #1
0
파일: Handler.php 프로젝트: aleksabp/bolt
 /**
  * Retrieve the entree type (file|dir).
  *
  * @return string file or dir
  */
 public function getType()
 {
     $metadata = $this->filesystem->getMetadata($this->path);
     return $metadata['type'];
 }