This commit is contained in:
Xes
2025-08-14 22:41:49 +02:00
parent 2de81ccc46
commit 8ce45119b6
39774 changed files with 4309466 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
<?php
namespace XApi\Repository\Api;
use Xabbuh\XApi\Common\Exception\NotFoundException;
use Xabbuh\XApi\Model\Activity;
use Xabbuh\XApi\Model\IRI;
/**
* Public API of an Experience API (xAPI) {@link Activity} repository.
*
* @author Jérôme Parmentier <jerome.parmentier@acensi.fr>
*/
interface ActivityRepositoryInterface
{
/**
* Finds an {@link Activity} by id.
*
* @param IRI $activityId The activity id to filter by
*
* @return Activity The activity
*
* @throws NotFoundException if no Activity with the given IRI does exist
*/
public function findActivityById(IRI $activityId);
}