Example #1
0
 /**
  * Get the parent of the file
  *
  * If you provide a path like /var/www/yoursite, the parent will be /var/www
  * @return File the parent of the file
  */
 public function getParent()
 {
     return $this->fs->getParent($this);
 }