Beispiel #1
0
 /**
  * Returns whether a path is set.
  *
  * @return bool
  */
 public function hasPath()
 {
     return !empty($this->path) || $this->parent && $this->parent->hasPath();
 }