ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\ResourceStorage\Events\FlavourData Class Reference
+ Inheritance diagram for ILIAS\ResourceStorage\Events\FlavourData:
+ Collaboration diagram for ILIAS\ResourceStorage\Events\FlavourData:

Public Member Functions

 __construct (ResourceIdentification $rid, FlavourDefinition $definition, Flavour $flavour, ?\Throwable $e=null)
 

Detailed Description

Author
Fabian Schmid fabia.nosp@m.n@sr.nosp@m..solu.nosp@m.tion.nosp@m.s

Definition at line 31 of file FlavourData.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\ResourceStorage\Events\FlavourData::__construct ( ResourceIdentification  $rid,
FlavourDefinition  $definition,
Flavour  $flavour,
?\Throwable  $e = null 
)

Definition at line 33 of file FlavourData.php.

38 {
39 $data = [
40 'rid' => $rid->serialize(),
41 'definition' => $definition->getInternalName(),
42 'flavour' => $flavour->getPersistingName(),
43 'exception' => $e ? $e->getMessage() : null
44 ];
45 parent::__construct($data, \ArrayObject::ARRAY_AS_PROPS);
46 }
getPersistingName()
Flavours are stored in the file system by the StroageHandler.
Definition: Flavour.php:44
getInternalName()
This defines the speaky internal name of the definition, as the consumer would like to use it,...
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc

References $data, Vendor\Package\$e, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\ResourceStorage\Flavour\Definition\FlavourDefinition\getInternalName(), ILIAS\ResourceStorage\Flavour\Flavour\getPersistingName(), and ILIAS\ResourceStorage\Identification\AbstractIdentification\serialize().

+ Here is the call graph for this function:

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