/**
  * Copy a FileViewFinder to a FallbackFileViewFinder
  *
  * @param \Illuminate\View\FileViewFinder $otherFinder
  * @return static
  **/
 public static function fromOther(FileViewFinder $otherFinder)
 {
     $copy = new static($otherFinder->getFilesystem(), $otherFinder->getPaths(), $otherFinder->getExtensions());
     if ($otherFinder instanceof FallbackFileViewFinder) {
         $copy->setFallbackDir($otherFinder->getFallbackDir());
     }
     return $copy;
 }