for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Blackmine\Repository\Projects;
use Blackmine\Exception\MethodNotImplementedException;
use Blackmine\Model\AbstractModel;
use Blackmine\Model\Project\Tracker;
use Blackmine\Repository\AbstractRepository;
class Trackers extends AbstractRepository
{
public const API_ROOT = "trackers";
public function getModelClass(): string
return Tracker::class;
}
/**
* @throws MethodNotImplementedException
*/
public function create(AbstractModel $model): ?AbstractModel
throw new MethodNotImplementedException(
"Method " . __FUNCTION__ . " not implemented for apì: " . self::API_ROOT
);
public function update(AbstractModel $model): ?AbstractModel
public function delete(AbstractModel $model): void