Skip to content
This repository has been archived by the owner on Jan 16, 2018. It is now read-only.

Use FQCN instead of type-name for column-types #36

Merged
merged 1 commit into from
Dec 24, 2015
Merged

Use FQCN instead of type-name for column-types #36

merged 1 commit into from
Dec 24, 2015

Conversation

sstok
Copy link
Contributor

@sstok sstok commented Dec 24, 2015

Q A
Bug Fix? no
New Feature? yes
BC Breaks? yes
Deprecations? no
Fixed Tickets

Use FQCN instead of type-name for column-types (as done in Symfony 3).
This simplifies the internal logic and makes the system slightly faster.

@@ -81,7 +81,7 @@ public function __construct(ColumnInterface $column, DatagridViewInterface $data
$this->column = $column;
$this->datagrid = $datagrid;

$this->type = $column->getType()->getName();
$this->type = get_class($column->getType());
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We actually don't need the type anymore, just the block prefix.

@sstok sstok merged commit 1840188 into rollerworks-graveyard:master Dec 24, 2015
sstok added a commit that referenced this pull request Dec 24, 2015
This PR was merged into the master branch.

Discussion
----------

|Q            |A  |
|---          |---|
|Bug Fix?     |no |
|New Feature? |yes|
|BC Breaks?   |yes|
|Deprecations?|no |
|Fixed Tickets|   |

Use FQCN instead of type-name for column-types (as done in Symfony 3).
This simplifies the internal logic and makes the system slightly faster.

Commits
-------

1840188 Use FQCN instead of type-name for column-types
@sstok sstok deleted the column-type-refactoring branch December 24, 2015 12:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant