示例#1
0
 /**
  * @return mixed    Collection instance
  */
 public function getCollection()
 {
     $path = Util::explodeFilePath($this->path());
     // names from path
     //        print "Volume name: ".$path->volume."\n";
     $vol = static::$disk->volume($path->volume);
     // vol from name
     return $vol->collection($path->collection);
     // collection from name
 }