mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-28 04:58:46 +02:00
16 lines
328 B
PHP
16 lines
328 B
PHP
<?php
|
|
|
|
namespace evaluation\expression;
|
|
|
|
use PhpParser\Node\Expr\BinaryOp\BitwiseAnd;
|
|
|
|
class BitwiseAndEvaluator extends BinaryOpEvaluator {
|
|
public function GetHandledExpressionType(): string {
|
|
return BitwiseAnd::class;
|
|
}
|
|
|
|
function EvaluateBinaryOperation(mixed $left, mixed $right) : mixed
|
|
{
|
|
return $left & $right;
|
|
}
|
|
} |