public function getView($name)
    {
        if (!$this->hasView($name)) {
            throw SchemaException::schemaViewDoesNotExist($this->getName(), $name);
        }

        return $this->views[$name];
    }
public function getView($name)
    {
        if (!$this->hasView($name)) {
            throw SchemaException::schemaViewDoesNotExist($this->getName(), $name);
        }

        return $this->views[$name];
    }
public function getView ( $ name ) { if ( ! $ this -> hasView ( $ name ) ) { throw SchemaException :: schemaViewDoesNotExist ( $ this -> getName ( ) , $ name ) ; } return $ this -> views [ $ name ] ; }
Gets a view.

@param string $name The view name.

@return \Fridge\DBAL\Schema\View The view.

@throws \Fridge\DBAL\Exception\SchemaException If the view does not exist.
Gets a view .