public function getTableInfo($model)
    {
        $table = $this->getTableName($model);

        return \DB::getDoctrineSchemaManager()->listTableDetails($table)->getColumns();
    }
public function getTableInfo($model)
    {
        $table = $this->getTableName($model);

        return \DB::getDoctrineSchemaManager()->listTableDetails($table)->getColumns();
    }
public function getTableInfo ( $ model ) { $ table = $ this -> getTableName ( $ model ) ; return \ DB :: getDoctrineSchemaManager ( ) -> listTableDetails ( $ table ) -> getColumns ( ) ; }
Fetch Doctrine table info
@param  string $model
@return object
Fetch Doctrine table info