public function __construct() { $this->middleware('api'); $this->middleware('jwt.auth:admin.api'); $this->setupTheme(config('theme.themes.admin.theme'), config('theme.themes.admin.layout')); }
/** * Initialize message controller. * * @param type MessageRepositoryInterface $message * * @return type */ public function __construct(MessageRepositoryInterface $message) { $this->repository = $message; parent::__construct(); }