public function supports($name, $supports)
    {
        if (!isset($this->adapters[$name])) {
            return false;
        }

        return $this->adapters[$name][$supports];
    }
public function supports($name, $supports)
    {
        if (!isset($this->adapters[$name])) {
            return false;
        }

        return $this->adapters[$name][$supports];
    }
public function supports ( $ name , $ supports ) { if ( ! isset ( $ this -> adapters [ $ name ] ) ) { return false ; } return $ this -> adapters [ $ name ] [ $ supports ] ; }
Returns whether the adapter by name supports
the requirements.

@param string $name
@param string $supports

@return bool
Returns whether the adapter by name supports the requirements .