interface FormatterInterface (View source)

Methods

mixed
format($mask, callable $matchHandler)

Format a mask using the standard format given a callable

Details

mixed format($mask, callable $matchHandler)

Format a mask using the standard format given a callable

Ex: if you have attributes with handles student_first_name and student_last_name %student_last_name%, %student_first_name%

Parameters

$mask
callable $matchHandler

Return Value

mixed