public function sameValueAs(ValueObjectInterface $name)
    {
        if (false === Util::classEquals($this, $name)) {
            return false;
        }

        return $this->getFullName() == $name->getFullName();
    }
public function sameValueAs(ValueObjectInterface $name)
    {
        if (false === Util::classEquals($this, $name)) {
            return false;
        }

        return $this->getFullName() == $name->getFullName();
    }
public function sameValueAs ( ValueObjectInterface $ name ) { if ( false === Util :: classEquals ( $ this , $ name ) ) { return false ; } return $ this -> getFullName ( ) == $ name -> getFullName ( ) ; }
Tells whether two names are equal by comparing their values

@param  ValueObjectInterface $name
@return bool
Tells whether two names are equal by comparing their values