original_string: public static function fromColumn(Db\Column $column)
      {
          $data = $column->toArray();
          if (isset($data['type']) && is_integer($data['type'])) {
              $data['type'] = self::getTypeName($data['type']);
          }
          if (isset($data['bindType']) && is_integer($data['bindType'])) {
              $data['bindType'] = self::getBindName($data['bindType']);
          }
          
          return new self($data);
      }
code: public static function fromColumn(Db\Column $column)
      {
          $data = $column->toArray();
          if (isset($data['type']) && is_integer($data['type'])) {
              $data['type'] = self::getTypeName($data['type']);
          }
          if (isset($data['bindType']) && is_integer($data['bindType'])) {
              $data['bindType'] = self::getBindName($data['bindType']);
          }
          
          return new self($data);
      }
code_tokens: public static function fromColumn ( Db \ Column $ column ) { $ data = $ column -> toArray ( ) ; if ( isset ( $ data [ 'type' ] ) && is_integer ( $ data [ 'type' ] ) ) { $ data [ 'type' ] = self :: getTypeName ( $ data [ 'type' ] ) ; } if ( isset ( $ data [ 'bindType' ] ) && is_integer ( $ data [ 'bindType' ] ) ) { $ data [ 'bindType' ] = self :: getBindName ( $ data [ 'bindType' ] ) ; } return new self ( $ data ) ; }
docstring: create column object
docstring_tokens: create column object