bytespin / easyadmin-no-private-plugin
It replaces the `private function __construct` PHP keyword from all EasyAdmin classes by `public function __construct`, so you can call parent constructors when extending a class.
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:composer-plugin
Requires
- php: >=8.0.2
- composer-plugin-api: ^2.0
Requires (Dev)
- composer/composer: ^2.0
This package is auto-updated.
Last update: 2024-10-29 16:22:09 UTC
README
When using EasyAdmin No Final Composer Plugin, EasyAdmin classes can be inherited. But some contructors remain private...
This project is a Composer plugin that replaces the 'private function __construct' PHP keyword from all EasyAdmin classes by 'public function __construct', so you can call parent constructor when extending a class.
It shares a lot of code from the original EasyAdmin No Final Composer Plugin: https://github.com/EasyCorp/easyadmin-no-final-plugin
Run the following command to install this Composer plugin in your projects:
$ composer require bytespin/easyadmin-no-private-plugin
When does this plugin update EasyAdmin classes?
- Just after installing this Composer plugin;
- Just after installing or updating any EasyAdmin version.