AbstractMatcher.php
protected function isMatch($value, $contextValue, $name)
    {
        if ($contextValue instanceof ToArrayInterface) {
            return $this->isMatchAnyInArray($value, $contextValue->toArray(), $name);
        }

        return \is_array($contextValue)
            ? $this->isMatchAnyInArray($value, $contextValue, $name)
            : $this->isMatchAnyWithScalar($value, $contextValue, $name);
    }
protected function isMatch($value, $contextValue, $name)
    {
        if ($contextValue instanceof ToArrayInterface) {
            return $this->isMatchAnyInArray($value, $contextValue->toArray(), $name);
        }

        return \is_array($contextValue)
            ? $this->isMatchAnyInArray($value, $contextValue, $name)
            : $this->isMatchAnyWithScalar($value, $contextValue, $name);
    }
protected function isMatch ( $ value , $ contextValue , $ name ) { if ( $ contextValue instanceof ToArrayInterface ) { return $ this -> isMatchAnyInArray ( $ value , $ contextValue -> toArray ( ) , $ name ) ; } return \ is_array ( $ contextValue ) ? $ this -> isMatchAnyInArray ( $ value , $ contextValue , $ name ) : $ this -> isMatchAnyWithScalar ( $ value , $ contextValue , $ name ) ; }
Checks if a value of a processor attribute matches a corresponding value
from the execution context.

@param mixed  $value        Array or Scalar
@param mixed  $contextValue Array or Scalar
@param string $name         The name of an attribute

@return bool
Checks if a value of a processor attribute matches a corresponding value from the execution context .