for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the xAPI package.
*
* (c) Christian Flothmann <[email protected]>
* 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 <[email protected]>
final class StateDocument extends Document
{
* @var State The state the document is associated to
private $state;
public function __construct(State $state, DocumentData $data)
parent::__construct($data);
$this->state = $state;
}
* Returns the document's {@link State}.
* @return State The state
public function getState()
return $this->state;