src/Saml.php
public function createLogoutResponse()
    {
        return (new LogoutResponse())
            ->setStatus(new Status(new StatusCode(SamlConstants::STATUS_SUCCESS)))
            ->setID(Helper::generateID())
            ->setVersion(SamlConstants::VERSION_20)
            ->setIssuer(new Issuer($this->getMetadata()->getServiceProvider()->getEntityID()))
            ->setIssueInstant(new \DateTime());
    }
public function createLogoutResponse()
    {
        return (new LogoutResponse())
            ->setStatus(new Status(new StatusCode(SamlConstants::STATUS_SUCCESS)))
            ->setID(Helper::generateID())
            ->setVersion(SamlConstants::VERSION_20)
            ->setIssuer(new Issuer($this->getMetadata()->getServiceProvider()->getEntityID()))
            ->setIssueInstant(new \DateTime());
    }
public function createLogoutResponse ( ) { return ( new LogoutResponse ( ) ) -> setStatus ( new Status ( new StatusCode ( SamlConstants :: STATUS_SUCCESS ) ) ) -> setID ( Helper :: generateID ( ) ) -> setVersion ( SamlConstants :: VERSION_20 ) -> setIssuer ( new Issuer ( $ this -> getMetadata ( ) -> getServiceProvider ( ) -> getEntityID ( ) ) ) -> setIssueInstant ( new \ DateTime ( ) ) ; }
Create a Saml Logout Response

@return LogoutResponse|SamlMessage
Create a Saml Logout Response