Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/vendor/php-xapi/repository-api/ActivityRepositoryInterface...

26 lines
642 B

<?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);
}