Extract
class Extract extends BaseFilter
Extract is a dropin replacement for Gryphon's extract filter, using the new paragraph extraction functionality.
{{ article.copy|extract(limit) }} {{ article.copy|extract(limit, offset) }}
Methods
getFilterOptions()
Allows this filter to return unescaped HTML
string
getFilterName()
Return the filter name
string
handle($text, $length = null, $offset = null)
Handle filter response
Details
in BaseFilter at line 13
__construct()
at line 50
getFilterOptions()
Allows this filter to return unescaped HTML
in BaseFilter at line 31
object
getDI()
Return default dependency injector
at line 23
string
getFilterName()
Return the filter name
at line 34
string
handle($text, $length = null, $offset = null)
Handle filter response