ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ILIAS\GlobalScreen\Scope\Toast\ToastServices Class Reference
+ Collaboration diagram for ILIAS\GlobalScreen\Scope\Toast\ToastServices:

Public Member Functions

 __construct (private UIServices $ui)
 
 factory ()
 

Private Attributes

ToastFactory $toast_factory
 

Detailed Description

Definition at line 26 of file ToastServices.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\GlobalScreen\Scope\Toast\ToastServices::__construct ( private UIServices  $ui)

Definition at line 30 of file ToastServices.php.

References ILIAS\Repository\ui().

31  {
32  $this->toast_factory = new ToastFactory(new StandardToastRendererFactory($this->ui));
33  }
+ Here is the call graph for this function:

Member Function Documentation

◆ factory()

ILIAS\GlobalScreen\Scope\Toast\ToastServices::factory ( )

Definition at line 35 of file ToastServices.php.

References ILIAS\GlobalScreen\Scope\Toast\ToastServices\$toast_factory.

35  : ToastFactory
36  {
37  return $this->toast_factory;
38  }

Field Documentation

◆ $toast_factory

ToastFactory ILIAS\GlobalScreen\Scope\Toast\ToastServices::$toast_factory
private

The documentation for this class was generated from the following file: