public function supports($phrase, array $arguments)
    {
        if (!isset($this->forms[$phrase])) {
            return false;
        }

        $argumentMatch = $this->forms[$phrase];

        if ($this->validateNoArgumentsCondition($arguments, $argumentMatch)
            || $this->validateStrictArgumentCountCondition($arguments, $argumentMatch)) {
            return false;
        }

        return true;
    }
public function supports($phrase, array $arguments)
    {
        if (!isset($this->forms[$phrase])) {
            return false;
        }

        $argumentMatch = $this->forms[$phrase];

        if ($this->validateNoArgumentsCondition($arguments, $argumentMatch)
            || $this->validateStrictArgumentCountCondition($arguments, $argumentMatch)) {
            return false;
        }

        return true;
    }
public function supports ( $ phrase , array $ arguments ) { if ( ! isset ( $ this -> forms [ $ phrase ] ) ) { return false ; } $ argumentMatch = $ this -> forms [ $ phrase ] ; if ( $ this -> validateNoArgumentsCondition ( $ arguments , $ argumentMatch ) || $ this -> validateStrictArgumentCountCondition ( $ arguments , $ argumentMatch ) ) { return false ; } return true ; }
Validates matcher condition based on specified rules

@param string $phrase
@param mixed[] $arguments

@return bool
Validates matcher condition based on specified rules