public function tryPath($path, $flags = 0x000000) {
    $flags |= self::VALIDATE;
    try {
      return $this->getPath($path, $flags);
    } catch (Exception $e) {
      if ($e->getCode() === self::VALIDATE) {
        return FALSE;
// @codeCoverageIgnoreStart
      } else {
        throw $e;
      }
// @codeCoverageIgnoreEnd
    }
  }
public function tryPath($path, $flags = 0x000000) {
    $flags |= self::VALIDATE;
    try {
      return $this->getPath($path, $flags);
    } catch (Exception $e) {
      if ($e->getCode() === self::VALIDATE) {
        return FALSE;
// @codeCoverageIgnoreStart
      } else {
        throw $e;
      }
// @codeCoverageIgnoreEnd
    }
  }
public function tryPath ( $ path , $ flags = 0x000000 ) { $ flags |= self :: VALIDATE ; try { return $ this -> getPath ( $ path , $ flags ) ; } catch ( Exception $ e ) { if ( $ e -> getCode ( ) === self :: VALIDATE ) { return FALSE ; // @codeCoverageIgnoreStart } else { throw $ e ; } // @codeCoverageIgnoreEnd } }
tries to resolve a path

@return FALSE when the path cannot be found
tries to resolve a path