protected function matchDeep($actual)
    {
        $path = new ObjectPath($actual);
        $value = $path->get($this->getKey());

        if ($value === null) {
            return false;
        }

        $this->assertion->setActual($value->getPropertyValue());

        return $this->isExpected($value->getPropertyValue());
    }
protected function matchDeep($actual)
    {
        $path = new ObjectPath($actual);
        $value = $path->get($this->getKey());

        if ($value === null) {
            return false;
        }

        $this->assertion->setActual($value->getPropertyValue());

        return $this->isExpected($value->getPropertyValue());
    }
protected function matchDeep ( $ actual ) { $ path = new ObjectPath ( $ actual ) ; $ value = $ path -> get ( $ this -> getKey ( ) ) ; if ( $ value === null ) { return false ; } $ this -> assertion -> setActual ( $ value -> getPropertyValue ( ) ) ; return $ this -> isExpected ( $ value -> getPropertyValue ( ) ) ; }
Uses ObjectPath to parse an expression if the deep flag
is set.

@param $actual
@return bool
Uses ObjectPath to parse an expression if the deep flag is set .