Interface PatternPluginManagerTrait

Summary

Fully Qualified Name: Zend\Cache\PatternPluginManager\PatternPluginManagerTrait

Description

Trait providing common logic between FormElementManager implementations.

Trait does not define properties, as the properties common between the two versions are originally defined in their parent class, causing a resolution conflict.

Methods

Name Description Defined By
build() Override build to inject options as PatternOptions instance. PatternPluginManagerTrait
validate() Validate the plugin is of the expected type (v3). PatternPluginManagerTrait
validatePlugin() Validate the plugin is of the expected type (v2). PatternPluginManagerTrait

Method Details

build()

Override build to inject options as PatternOptions instance.

{@inheritDoc}

Parameter Name Type Description
$plugin
$options

Returns:

validate()

Validate the plugin is of the expected type (v3).

Validates against $instanceOf.

Parameter Name Type Description
$instance mixed

Returns:

validatePlugin()

Validate the plugin is of the expected type (v2).

Proxies to validate().

Parameter Name Type Description
$plugin mixed

Returns:

Top