supportsAbsolutePaths() 공개 메소드

Can this storage handle absolute paths?
public supportsAbsolutePaths ( ) : mixed
리턴 mixed
예제 #1
0
파일: File.php 프로젝트: Webiny/Framework
 /**
  * Get absolute file path.
  * If storage driver does not support absolute paths (cloud storage) returns file key
  *
  * @return string
  */
 public function getAbsolutePath()
 {
     if ($this->storage->supportsAbsolutePaths()) {
         return $this->storage->getAbsolutePath($this->key);
     }
     return $this->getKey();
 }