/** * Check current file is child of given file * @param \PerrysLambda\IO\File $d * @return boolean */ public function isChildOf(File $d) { return $this->getReal()->startsWith($d->getReal()->toString()); }