public static function filterSimplify(Context $context) { if ($context->value !== NULL) { $context->value = Strings::simplify($context->value); } return TRUE; }
/** * Sets page author * * @param string|false author's name * @return MetaDataProvider fluent */ public function setAuthor($name) { $this->updating(); if ($name === false) { $this->_author = false; return $this; } $this->_author = Strings::simplify($name); return $this; }