for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Leonidas\Library\System\Model\Abstracts\User;
use Leonidas\Contracts\System\Schema\User\UserEntityManagerInterface;
abstract class AbstractUserModelRepository
{
protected UserEntityManagerInterface $manager;
public function __construct(UserEntityManagerInterface $manager)
$this->manager = $manager;
}
public function delete(int $id): void
$this->manager->delete($id);