Strata\Strata

Running Strata instance

    Synopsis

    class Strata extends StrataContext {
    • // members
    • protected bool $ready = null;
    • // Inherited members from StrataContext
    • public static  $reference;
    }

    Hierarchy

    Members

    protected

    • $configuration — array
      The configuration cache.
    • $readyStrata\bool

    public

    • $reference

    Methods

    protected

    public

    Inherited from Strata\Core\StrataContext

    public

    Inherited from Strata\Core\StrataConfigurableTrait

    protected

    • normalizeConfiguration() — Normalizes the configuration cache. This will only run once on the object. It is mainly a safegard against a badly configured value cache.

    public

    • configure() — Instantiate the configuration cache to the state supplied by $config.
    • containsConfigurations() — Returns whether the configuration cache contains something.
    • extractConfig() — Intelligently extract data from the configuration array.
    • getConfig() — Fetches a value in the configuration array
    • getConfiguration() — Returns the object's complete configuration cache.
    • hasConfig() — Confirms the presence of a value in the custom post type's configuration array
    • setConfig() — Saves a value in the object's configuration array for the duration of the runtime.