Zend\Filter\FilterChain::attachByName
Attach a filter to the chain using a short name
Retrieves the filter from the attached plugin manager, and then calls attach() with the retrieved instance.
Signature
public function attachByName(string
$name,
[mixed
$options = self::DEFAULT_PRIORITY,
[int
$priority = self::DEFAULT_PRIORITY]] )
Parameters
$name
— string$options
— array$priority
— int- Priority at which to enqueue filter; defaults to 1000 (higher executes earlier)
Returns
- self