Exakat\Analyzer\Analyzer::isNot PHP Method

isNot() public method

public isNot ( $property, $value = true )
    public function isNot($property, $value = true)
    {
        if ($value === null) {
            $this->addMethod('not(has("' . $property . '", null))');
        } elseif ($value === true) {
            $this->addMethod('not(has("' . $property . '", true))');
        } elseif ($value === false) {
            $this->addMethod('not(has("' . $property . '", false))');
        } elseif (is_int($value)) {
            $this->addMethod('not(has("' . $property . '", ' . $value . '))');
        } else {
            $this->addMethod('not(has("' . $property . '", within(***)))', $value);
        }
        return $this;
    }
Analyzer