src/Locale.php
public function isSameValueAs(Locale $other)
    {
        return
            $this->languageCode == $other->languageCode &&
            $this->countryCode == $other->countryCode
        ;
    }
public function isSameValueAs(Locale $other)
    {
        return
            $this->languageCode == $other->languageCode &&
            $this->countryCode == $other->countryCode
        ;
    }
public function isSameValueAs ( Locale $ other ) { return $ this -> languageCode == $ other -> languageCode && $ this -> countryCode == $ other -> countryCode ; }
Compares two Locales

@author Tom Haskins-Vaughan <tom@tomhv.uk>
@since  1.0.0

@param Locale $other

@return bool
Compares two Locales