src/Wrep/Notificato/Apns/SslSocket.php
protected function disconnect()
	{
		$this->logger->debug('Disconnecting Apns\SslSocket from the APNS service with certificate "' . $this->getCertificate()->getDescription() . '"');

		// Check if there is a socket to disconnect
		if (is_resource($this->connection))
		{
			// Disconnect and unset the connection variable
			fclose($this->connection);
		}

		$this->connection = null;
	}
protected function disconnect()
	{
		$this->logger->debug('Disconnecting Apns\SslSocket from the APNS service with certificate "' . $this->getCertificate()->getDescription() . '"');

		// Check if there is a socket to disconnect
		if (is_resource($this->connection))
		{
			// Disconnect and unset the connection variable
			fclose($this->connection);
		}

		$this->connection = null;
	}
protected function disconnect ( ) { $ this -> logger -> debug ( 'Disconnecting Apns\SslSocket from the APNS service with certificate "' . $ this -> getCertificate ( ) -> getDescription ( ) . '"' ) ; // Check if there is a socket to disconnect if ( is_resource ( $ this -> connection ) ) { // Disconnect and unset the connection variable fclose ( $ this -> connection ) ; } $ this -> connection = null ; }
Disconnect from the endpoint
Disconnect from the endpoint