App\Http\Controllers\AdminApiController::__construct PHP Method

__construct() public method

public __construct ( )
    public function __construct()
    {
        $this->middleware('api');
        $this->middleware('jwt.auth:admin.api');
        $this->setupTheme(config('theme.themes.admin.theme'), config('theme.themes.admin.layout'));
    }

Usage Example

 /**
  * Initialize message controller.
  *
  * @param type MessageRepositoryInterface $message
  *
  * @return type
  */
 public function __construct(MessageRepositoryInterface $message)
 {
     $this->repository = $message;
     parent::__construct();
 }
All Usage Examples Of App\Http\Controllers\AdminApiController::__construct