protected function setData(\stdClass $column)
    {
        $this->setName($column->Field);
        $this->setIsPrimaryKey(($column->Key === 'PRI'));
        $this->setIsKey(!empty($column->Key));
        $this->setType($column->Type);
        $this->setIsNullable(($column->Null === 'YES'));
        $this->setDefault($column->Default);
        $this->setExtra($column->Extra);

        return $this;
    }
protected function setData(\stdClass $column)
    {
        $this->setName($column->Field);
        $this->setIsPrimaryKey(($column->Key === 'PRI'));
        $this->setIsKey(!empty($column->Key));
        $this->setType($column->Type);
        $this->setIsNullable(($column->Null === 'YES'));
        $this->setDefault($column->Default);
        $this->setExtra($column->Extra);

        return $this;
    }
protected function setData ( \ stdClass $ column ) { $ this -> setName ( $ column -> Field ) ; $ this -> setIsPrimaryKey ( ( $ column -> Key === 'PRI' ) ) ; $ this -> setIsKey ( ! empty ( $ column -> Key ) ) ; $ this -> setType ( $ column -> Type ) ; $ this -> setIsNullable ( ( $ column -> Null === 'YES' ) ) ; $ this -> setDefault ( $ column -> Default ) ; $ this -> setExtra ( $ column -> Extra ) ; return $ this ; }
Set column data from db query

@param  \stdClass $column
@return self
Set column data from db query