public function __construct(RecipeRepository $recipe, FileRepository $file) { parent::__construct(); $this->recipe = $recipe; $this->file = $file; }