public function getValidator(Column $column)
    {
        $key = $column->getName();
        if (!isset($this->validators[$key])) {
            $this->validators[$key] = new Validator();
            $this->validators[$key]->setColumn($column);
        }

        return $this->validators[$key];
    }
public function getValidator(Column $column)
    {
        $key = $column->getName();
        if (!isset($this->validators[$key])) {
            $this->validators[$key] = new Validator();
            $this->validators[$key]->setColumn($column);
        }

        return $this->validators[$key];
    }
public function getValidator ( Column $ column ) { $ key = $ column -> getName ( ) ; if ( ! isset ( $ this -> validators [ $ key ] ) ) { $ this -> validators [ $ key ] = new Validator ( ) ; $ this -> validators [ $ key ] -> setColumn ( $ column ) ; } return $ this -> validators [ $ key ] ; }
Gets a single validator for specified column name.

@param Column $column

@return Validator
Gets a single validator for specified column name .