Enea Scerba

Results 26 comments of Enea Scerba

Hi, because I needed this feature for working with events in WordPress stuff I just implemented the ProxyManager in a forked version of the Auryn\Injector you can find here [Auryn...

> In my opinion, Auryn is meant to be extendible so that people can sub-class it to add custom functionality, rather than having to maintain forks or complete replacements. The...

> Probably would be good if the whole of the Auryn test suite could be re-run against the child class, to make sure that copied implementation performs the same for...

Ok, I'll clean up some code and I'll push a PR.

If I understand well this should work: ```php // main-plugin.php add_action( 'plugin_loaded', function () { $injector = new \Auryn\Injector(); $injector->make( 'MyPlugin\MainClass' ); // do some other stuff with $injector obj...

> Is there maybe an easy way to automatically convert HTML into blocks? No, there's not an easy way, in Gutenberg every element is a block and your custom element...

This is something I asket months ago but no one answered me #33806 And here for naming things: #29568

Solution: Add multiple ID parameter to request `GET https://www.googleapis.com/youtube/v3/search?part=snippet&id=UCiAW4HQiYjpPmyi4v905u1A%2C+UCrFCDzgIucPi7x_OzsYefWQ&id=UCiAW4HQiYjpPmyi4v905u1A%2C+UCrFCDzgIucPi7x_OzsYefWQ&key={YOUR_API_KEY}`

Try Rector with a custo rule to do this, it should be better than a search and replace `'

Why not adding a Proxy to handle that? With a Proxy any service will not be instantiated untill some method will be executed so they are deferred by default, good...