public function getCheck($name)
    {
        if (!$this->hasCheck($name)) {
            throw SchemaException::tableCheckDoesNotExist($this->getName(), $name);
        }

        return $this->checks[$name];
    }
public function getCheck($name)
    {
        if (!$this->hasCheck($name)) {
            throw SchemaException::tableCheckDoesNotExist($this->getName(), $name);
        }

        return $this->checks[$name];
    }
public function getCheck ( $ name ) { if ( ! $ this -> hasCheck ( $ name ) ) { throw SchemaException :: tableCheckDoesNotExist ( $ this -> getName ( ) , $ name ) ; } return $ this -> checks [ $ name ] ; }
Gets a table check.

@param string $name The table check name.

@throws \Fridge\DBAL\Exception\SchemaException If the check does not exist.

@return \Fridge\DBAL\Schema\Check The table check.
Gets a table check .