public getCriteria ( string $property = null ) : mixed | ||
$property | string | |
return | mixed |
public function getCriteria($property = null)
{
if (is_null($property)) {
return $this->_config['criteria'];
}
if (!array_key_exists($property, $this->_config['criteria'])) {
return null;
}
return $this->_config['criteria'][$property];
}