'; } /** * Check if the actual value matches the expected pattern. * * @template TMixed * * @param TMixed $actual * * @return bool */ public function match(&$actual) { return preg_match($this->_expected, (string) $actual) >= 1; } }