for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Modules\Recipe\Repositories\Cache;
use Modules\Recipe\Repositories\RecipeRepository;
use Modules\Core\Repositories\Cache\BaseCacheDecorator;
class CacheRecipeDecorator extends BaseCacheDecorator implements RecipeRepository
{
public function __construct(RecipeRepository $recipe)
parent::__construct();
$this->entityName = 'recipe.recipes';
$this->repository = $recipe;
}