Strata\Router\Registrar\ModelRewriteRegistrar

Registers rewrite rules defined in model configuration files.

    Synopsis

    class ModelRewriteRegistrar {
    }

    Members

    private

    • $collectedRewrites
    • $collectedRoutes

    Methods

    private

    public

    • onModelsActivated() — Registrar's listener expected to be triggered after the models have been loaded in Wordpress.