Baptiste Clavié

Results 130 comments of Baptiste Clavié

I see where you're getting at on the typehints, and even if this is indeed not rigorous, it is still a valid point of view, and should also only happen...

I see where you're getting at on the typehints, and even if this is indeed not rigorous, it is still a valid point of view, and should also only happen...

Yep, but with a Plugin, you may also register not only commands, and I think that this is baseline for such a system. Anyhow, it seems @bobthecow that is interested...

I don't know if registering a plugin through the app (via a `plugin` command) wouldn't be too late, as the app is already launched. I was also thinking of an...

This seems to be what I first thought about using something similar to Twig then (it registers an extension, which basically registers all its dependencies on the go). So I'm...

I'm not a huge fan of the static things, but on an object point of view and also a pratical point of view, it seems to be the right thing...

> … but realistically, approximately zero of our users will do that Don't worry, neither will I. :D Maybe do something with a composer script, to automatically register an extension...

Yup, but then you must have a `register.php` file with the plugin, and you must think of adding it in your autoload-files (or script, or whatever)

Oooh, I didn't see it like that. It makes senses

Meh, as long as it is documented, it should be fine ! :D