<commit_before><?php

namespace AerialShip\LightSaml\Model\Protocol;

use AerialShip\LightSaml\Helper;
use AerialShip\LightSaml\Meta\SerializationContext;
use AerialShip\LightSaml\Model\Assertion\NameID;
use AerialShip\LightSaml\Protocol;


class LogoutRequest extends AbstractRequest
{
    /** @var int|null */
    protected $notOnOrAfter;

    /** @var string|null */
    protected $reason;

    /** @var NameID */
    protected $nameID;

    /** @var string|null */
    protected $sessionIndex;


    /**
     * @return string
     */
    function getXmlNodeLocalName() {
        return 'samlp:LogoutRequest';
    }

    /**
     * @return string|null
     */
    function getXmlNodeNamespace() {
        return Protocol::SAML2;
    }

    /**
     * The time at which the request expires, after which the recipient may discard the message.
     * The time value is encoded in UTC
     *
     * @param int|string $notOnOrAfter
     * @return LogoutRequest
     * @throws \InvalidArgumentException
     */<commit_msg>#5 Logout Request Builder - LogoutRequestTest<commit_after><?php

namespace AerialShip\LightSaml\Model\Protocol;

use AerialShip\LightSaml\Helper;
use AerialShip\LightSaml\Meta\SerializationContext;
use AerialShip\LightSaml\Model\Assertion\NameID;
use AerialShip\LightSaml\Protocol;


class LogoutRequest extends AbstractRequest
{
    /** @var int|null */
    protected $notOnOrAfter;

    /** @var string|null */
    protected $reason;

    /** @var NameID */
    protected $nameID;

    /** @var string|null */
    protected $sessionIndex;


    /**
     * @return string
     */
    function getXmlNodeLocalName() {
        return 'LogoutRequest';
    }

    /**
     * @return string|null
     */
    function getXmlNodeNamespace() {
        return Protocol::SAML2;
    }

    /**
     * The time at which the request expires, after which the recipient may discard the message.
     * The time value is encoded in UTC
     *
     * @param int|string $notOnOrAfter
     * @return LogoutRequest
     * @throws \InvalidArgumentException
     */
{'fraction_non_alphanumeric': 0.10610465116279069, 'fraction_numerical': 0.0014534883720930232, 'mean_word_length': 2.7751371115173673, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '933941', 'n_tokens_mistral': 624, 'n_tokens_neox': 614, 'n_words': 148}