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

__construct() public method

Initialize public controller.
public __construct ( ) : null
return null
    public function __construct()
    {
        $this->middleware('web');
        $this->setupTheme(config('theme.themes.public.theme'), config('theme.themes.public.layout'));
        parent::__construct();
    }

Usage Example

Example #1
0
 /**
  * Constructor.
  *
  * @param type \Litecms\Gallery\Interfaces\GalleryRepositoryInterface $gallery
  *
  * @return type
  */
 public function __construct(GalleryRepositoryInterface $gallery)
 {
     $this->repository = $gallery;
     parent::__construct();
 }
All Usage Examples Of App\Http\Controllers\PublicWebController::__construct
PublicWebController