for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace hiapi\query\types;
abstract class AbstractAttribute implements AttributeInterface
{
public function getRuleForOperator($operator)
$rules = $this->getOperatorRules();
if (isset($rules[$operator])) {
return $rules[$operator];
}
throw UnsupportedOperatorException::forOperator($operator);