/** * Initialize message controller. * * @param type MessageRepositoryInterface $message * * @return type */ public function __construct(MessageRepositoryInterface $message) { $this->repository = $message; parent::__construct(); }
/** * Initialize gallery controller. * * @param type GalleryRepositoryInterface $gallery * * @return type */ public function __construct(GalleryRepositoryInterface $gallery) { $this->repository = $gallery; parent::__construct(); }