src/StatementResultFixtures.php
public static function getStatementResult(IRL $urlPath = null)
    {
        $statement1 = StatementFixtures::getMinimalStatement();

        $verb = new Verb(IRI::fromString('http://adlnet.gov/expapi/verbs/deleted'), LanguageMap::create(array('en-US' => 'deleted')));
        $statement2 = new Statement(
            StatementId::fromString('12345678-1234-5678-8234-567812345679'),
            new Agent(InverseFunctionalIdentifier::withMbox(IRI::fromString('mailto:bob@example.com'))),
            $verb,
            $statement1->getObject()
        );

        $statementResult = new StatementResult(array($statement1, $statement2), $urlPath);

        return $statementResult;
    }
public static function getStatementResult(IRL $urlPath = null)
    {
        $statement1 = StatementFixtures::getMinimalStatement();

        $verb = new Verb(IRI::fromString('http://adlnet.gov/expapi/verbs/deleted'), LanguageMap::create(array('en-US' => 'deleted')));
        $statement2 = new Statement(
            StatementId::fromString('12345678-1234-5678-8234-567812345679'),
            new Agent(InverseFunctionalIdentifier::withMbox(IRI::fromString('mailto:bob@example.com'))),
            $verb,
            $statement1->getObject()
        );

        $statementResult = new StatementResult(array($statement1, $statement2), $urlPath);

        return $statementResult;
    }
Loads a statement result.

@param IRL $urlPath An optional URL path refering to more results

@return StatementResult