public function matches($alteration, $propertyName, $before, $after)
    {
        if ($this->alteration === $alteration
            && $this->propertyName === $propertyName
            && $this->before === $before
            && $this->after === $after
        ) {
            return true;
        }

        return false;
    }
public function matches($alteration, $propertyName, $before, $after)
    {
        if ($this->alteration === $alteration
            && $this->propertyName === $propertyName
            && $this->before === $before
            && $this->after === $after
        ) {
            return true;
        }

        return false;
    }
public function matches ( $ alteration , $ propertyName , $ before , $ after ) { if ( $ this -> alteration === $ alteration && $ this -> propertyName === $ propertyName && $ this -> before === $ before && $ this -> after === $ after ) { return true ; } return false ; }
Check if parameters match object parameters.

@param string $alteration
@param string $propertyName
@param string $before
@param string $after

@return bool
Check if parameters match object parameters .