Strata\Model\CustomPostType\CustomPostTypeLoader

Loads Custom Post Types objects based on the loader's configuration.

    Synopsis

    class CustomPostTypeLoader {
    }

    Hierarchy

    Members

    protected

    • $configuration — array
      The configuration cache.

    Methods

    private

    public

    • load() — Loads the entities.

    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.