src/Wrep/Notificato/Apns/Certificate.php
public function getEndpoint($endpointType)
	{
		// Check if the endpoint type is valid
		if (self::ENDPOINT_TYPE_GATEWAY !== $endpointType && self::ENDPOINT_TYPE_FEEDBACK !== $endpointType ) {
			throw new \InvalidArgumentException($endpointType . ' is not a valid endpoint type.');
		}

		return self::$endpoints[$this->endpointEnv][$endpointType];
	}
public function getEndpoint($endpointType)
	{
		// Check if the endpoint type is valid
		if (self::ENDPOINT_TYPE_GATEWAY !== $endpointType && self::ENDPOINT_TYPE_FEEDBACK !== $endpointType ) {
			throw new \InvalidArgumentException($endpointType . ' is not a valid endpoint type.');
		}

		return self::$endpoints[$this->endpointEnv][$endpointType];
	}
public function getEndpoint ( $ endpointType ) { // Check if the endpoint type is valid if ( self :: ENDPOINT_TYPE_GATEWAY !== $ endpointType && self :: ENDPOINT_TYPE_FEEDBACK !== $ endpointType ) { throw new \ InvalidArgumentException ( $ endpointType . ' is not a valid endpoint type.' ) ; } return self :: $ endpoints [ $ this -> endpointEnv ] [ $ endpointType ] ; }
Get the endpoint this certificate is valid for

@param string The type of endpoint you want
@return string

@throws \InvalidArgumentException
Get the endpoint this certificate is valid for