Andrey Pyzhikov
Andrey Pyzhikov
Pass an array instead of a class. Since we use classes as configs and specify the type hint in class constructors, we need to have an application for testing the...
> By the way, what is the benefit of changing to arrays? - I repeat what I said above. That arrays are not passed by reference and changing the value...
You can extend the BooleanCast class and cast the type you need. @kenjis Entity is a representation of data and is not directly related to the DBMS. I don't think...
@kenjis I think it should be left as is.
@kenjis But Entity is not part of the database layer. And the desired result can be obtained through a getter or custom type casting. Now, if we didn’t have the...
On the forum, I already suggested the idea of creating a unique key for registering a route, like domain + path. (As it turned out, the same is used in...
If the "hostname" or "subdomain" options are specified and the path matches, then the route will be overwritten by the last one added. This is what happens in example 2....
It seems to me that we can replace ``include`` with ``include_once`` and remove the check for included files.
The use of ``include_once`` is possible in practice, but due to the reset of services in tests, this does not work.
> Using `_once` in this case makes it impossible to write test. We need to create many RouteCollection instances with the different routes for testing. > > It seems we...