keasy9

Results 6 comments of keasy9

Oh, forgot about `fromEnum` method, thanks! But shouldn't code works even with `options`? Shouldn't that: ```php Select::make()->value('some str value')->options([ 'some str value' => 'some str title', 'some other str value'...

Yes, when I need only type safety this is good way, but sometimes I need actualy validating data, or for example have default value: ```typescript public getUserData(): MyDataType { const...

Another advantage of custom classes is that you can create your own interface to keep code-constistency of project, e.g.: ```typescript body.fixture() // custom method, that returns builder instance with method...

No, I havn't, but how it solves cusomisation problem? When I need custom Body, Fixture or other class there is only dirty ways like using private non-documented methods or modifying...

> I still do not recommend customizing physics classes with non-physics code. I understand that and understand why, and agreed with you. I am actually doing composition in my projects,...

Yes, but I think that `.getWithParameters` name is too long for convenient use, maybe `.getWithParams(...builderParams)` or even `.getWith(...builderParams)`? However, naming is up to you. And thanks for good advice about...