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;
class AndOperator extends AbstractOperator
{
public function __invoke(bool $operand, $item): bool
if (!$operand) {
return false;
}
$checker = $this->checker;
return $checker($item);