for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Isswp101\Persimmon\DI;
use Isswp101\Persimmon\Repository\IRepository;
class Container
{
private $repository;
private $cacheRepository;
public function __construct(IRepository $repository, IRepository $cacheRepository)
$this->repository = $repository;
$this->cacheRepository = $cacheRepository;
}
public function getRepository(): IRepository
return $this->repository;
public function getCacheRepository(): IRepository
return $this->cacheRepository;