Inheritance: extends Controller, use trait Litepie\User\Traits\Auth\UserManager
 /**
  * Initialize message controller.
  *
  * @param type MessageRepositoryInterface $message
  *
  * @return type
  */
 public function __construct(MessageRepositoryInterface $message)
 {
     $this->repository = $message;
     parent::__construct();
 }
Exemplo n.º 2
0
 /**
  * Initialize gallery controller.
  *
  * @param type GalleryRepositoryInterface $gallery
  *
  * @return type
  */
 public function __construct(GalleryRepositoryInterface $gallery)
 {
     $this->repository = $gallery;
     parent::__construct();
 }