protected function equal($key)
    {
        if ($this->before($key) !== $this->after($key)) {
            return false;
        }

        $diff = [
            'key' => $key,
            'value' => $this->before($key),
            'type' => 'equal',
        ];

        return (object) $diff;
    }
protected function equal($key)
    {
        if ($this->before($key) !== $this->after($key)) {
            return false;
        }

        $diff = [
            'key' => $key,
            'value' => $this->before($key),
            'type' => 'equal',
        ];

        return (object) $diff;
    }
protected function equal ( $ key ) { if ( $ this -> before ( $ key ) !== $ this -> after ( $ key ) ) { return false ; } $ diff = [ 'key' => $ key , 'value' => $ this -> before ( $ key ) , 'type' => 'equal' , ] ; return ( object ) $ diff ; }
Get equal attribute object.

@param  string  $key
@return \stdClass
Get equal attribute object .