This is my definitions.php:
return [
'Entity' => create(Entity::class),
'Request' => create(Request::class)
]:
There can be many classes in a PHP project, do I have to manually register all the classes in the PHP DI container or there's a better way to do it automatically.