App\Http\Controllers\AdminApiController::__construct PHP 메소드

__construct() 공개 메소드

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