Eugene (mj4444)
Eugene (mj4444)
For PHP 7.4+ ```php 'user' => [ 'class' => Da\User\Module::class, 'controllerMap' => [ 'security' => [ 'class' => Da\User\Controller\SecurityController::class, 'on beforeAuthenticate' => static fn (Da\User\Event\SocialNetworkAuthEvent $event) => $event->account->save(false), ], ],...
> Ah, in that case I apologize, but reinventing the wheel doesn't make sense to me. I did a lot of research into Cycle after it was chosen and was...
1. Sometimes you have to sacrifice something. 2. This does not prevent the use of **Cycle ORM** in **Yii3**. 3. Named parameters are not compatible with some functions. Perhaps this...
> I think your words are very misplaced, firstly I just transferred the code from yii2 to yii3, which you mean then that the yii2 code does not work and...
> For memory efficiency using pure objects is also way more efficient due to the fact that php arrays are very inefficient. Pure objects with properties that get hydrated use...
```php $array = []; $elCount = 100000; for ($i = 0; $i < $elCount; $i++) { $el = new stdClass(); for($n = 0; $n < 10; $n++) { $el->{"param$n"} =...
> Mostly the key side should be more efficient for objects because keys in arrays are stored as hashes. I imagine that something similar happens for stdclass but not for...
The driver was originally installed via DKMS. Simply rebuilding the driver is faster than removing it from the kernel via DKMS and installing it back. Reinstalled via PPA. If the...
> Will the Injector become too complex and confusing? Not only in terms of code, but also in terms of usage. This can provide additional functionality to external modules. We...
This improvement only affects magical properties. When working with properties through functions, we continue to work with real names. For example, we have a `create_at` property in the database table....