public function canHandle(PathInformationInterface $path, $mode)
    {
        try {
            $this->findFactory($path, $mode);
            return true;
        } catch (\RuntimeException $e) {
            return false;
        }
    }
public function canHandle(PathInformationInterface $path, $mode)
    {
        try {
            $this->findFactory($path, $mode);
            return true;
        } catch (\RuntimeException $e) {
            return false;
        }
    }
public function canHandle ( PathInformationInterface $ path , $ mode ) { try { $ this -> findFactory ( $ path , $ mode ) ; return true ; } catch ( \ RuntimeException $ e ) { return false ; } }
Returns true if this factory can handle the requested path

@param   PathInformationInterface     $path   The path information
@param   string                       $mode   The mode used to open the file
@return  boolean                              True if this factory can handle the path
Returns true if this factory can handle the requested path