Pink-Crab / Perique-Framework

The Perqiue Plugin Framework for WordPress
5 stars 0 forks source link

Constructing Middleware before Registration #19

Closed gin0115 closed 3 years ago

gin0115 commented 3 years ago

Need to find a solution to how middleware is added as a class string. Currently this added when its called, which causes issues as the default di rules are not added until finalise is called.

Proposing creating a middleware stack inside app it self, which will mean those that are added before the app is booted, will only be created after the initial boot.