public function GetFilter::filter in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-hydrator/src/Filter/GetFilter.php \Zend\Hydrator\Filter\GetFilter::filter()
Should return true, if the given filter does not match
Parameters
string $property The name of the property:
Return value
bool
Overrides FilterInterface::filter
File
- vendor/
zendframework/ zend-hydrator/ src/ Filter/ GetFilter.php, line 14
Class
Namespace
Zend\Hydrator\FilterCode
public function filter($property) {
$pos = strpos($property, '::');
if ($pos !== false) {
$pos += 2;
}
else {
$pos = 0;
}
if (substr($property, $pos, 3) === 'get') {
return true;
}
return false;
}