-
Notifications
You must be signed in to change notification settings - Fork 1
Introduce Datagrids for creating DatagridFactories #57
Introduce Datagrids for creating DatagridFactories #57
Conversation
* | ||
* @return DatagridFactoryBuilder | ||
*/ | ||
public function addTypes(array $types) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing return-type.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
resolved
* | ||
* @return DatagridFactoryBuilder | ||
*/ | ||
public function addTypeExtensions(array $typeExtensions) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing return-type.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
resolved
* | ||
* Normally you should not do this, but as this the only | ||
* way to test if the object is properly build. | ||
* Else the test would be overly complex. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
become
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
resolved
The Datagrids class works a facade, it hides a great deal of the implementation details and makes it much easier for none Framework users to create a DatagridFactory with custom extensions, types and type extensions.
This PR was merged into the master branch. Discussion ---------- |Q |A | |--- |---| |Bug Fix? |no | |New Feature? |yes| |BC Breaks? |no | |Deprecations?|no | |Fixed Tickets|#8 | The `Datagrids` class works a facade, it hides a great deal of the implementation details and makes it much easier for none Framework users to create a DatagridFactory with custom extensions, types and type extensions. I decided not to add an interface for the DatagridFactoryBuilder class as anyone needing a custom implementation will use a fully custom implementation (KISS 😋). Documentation is coming, but the PHPDoc should already explain how to use this. Commits ------- fb59933 Introduce Datagrids for creating DatagridFactories
The
Datagrids
class works a facade, it hides a great deal of the implementation details and makes it much easierfor none Framework users to create a DatagridFactory with custom extensions, types and type extensions.
I decided not to add an interface for the DatagridFactoryBuilder class as anyone
needing a custom implementation will use a fully custom implementation (KISS 😋).
Documentation is coming, but the PHPDoc should already explain how to use this.