SilverStripe\VersionFeed\Filters\ContentFilter::getContent
Evaluates the result of the given callback
Signature
public function getContent(string
$key,
callable
$callback )
Parameters
$key
— string- Unique key for this
$callback
— object- Callback for evaluating the content
Returns
- mixed
- Result of $callback()