for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author Anton Lytkin <[email protected]>
*/
namespace WS\Utils\Collections\Functions\Expression\Operator;
abstract class AbstractOperator
{
protected $checker;
public function __construct(callable $checker)
$this->checker = $checker;
}
public function getChecker(): callable
return $this->checker;
abstract public function __invoke(bool $operand, $item): bool;