src/Saml.php
public function createLogoutRequest()
    {
        return (new LogoutRequest())
            ->setID(Helper::generateID())
            ->setVersion(SamlConstants::VERSION_20)
            ->setIssueInstant(new \DateTime())
            ->setIssuer(new Issuer($this->getMetadata()->getServiceProvider()->getEntityID()));
    }
public function createLogoutRequest()
    {
        return (new LogoutRequest())
            ->setID(Helper::generateID())
            ->setVersion(SamlConstants::VERSION_20)
            ->setIssueInstant(new \DateTime())
            ->setIssuer(new Issuer($this->getMetadata()->getServiceProvider()->getEntityID()));
    }
public function createLogoutRequest ( ) { return ( new LogoutRequest ( ) ) -> setID ( Helper :: generateID ( ) ) -> setVersion ( SamlConstants :: VERSION_20 ) -> setIssueInstant ( new \ DateTime ( ) ) -> setIssuer ( new Issuer ( $ this -> getMetadata ( ) -> getServiceProvider ( ) -> getEntityID ( ) ) ) ; }
Create a Saml Logout Request

@return LogoutRequest|SamlMessage
Create a Saml Logout Request