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

Public Member Functions

 init (array|\ArrayAccess &$define, array|\ArrayAccess &$implement, array|\ArrayAccess &$use, array|\ArrayAccess &$contribute, array|\ArrayAccess &$seek, array|\ArrayAccess &$provide, array|\ArrayAccess &$pull, array|\ArrayAccess &$internal,)
 
 init (array|\ArrayAccess &$define, array|\ArrayAccess &$implement, array|\ArrayAccess &$use, array|\ArrayAccess &$contribute, array|\ArrayAccess &$seek, array|\ArrayAccess &$provide, array|\ArrayAccess &$pull, array|\ArrayAccess &$internal,)
 
 init (array|\ArrayAccess &$define, array|\ArrayAccess &$implement, array|\ArrayAccess &$use, array|\ArrayAccess &$contribute, array|\ArrayAccess &$seek, array|\ArrayAccess &$provide, array|\ArrayAccess &$pull, array|\ArrayAccess &$internal,)
 

Data Fields

trait HttpServiceAware
 Trait HttpServiceAware. More...
 

Detailed Description

Definition at line 29 of file FileDelivery.php.

Member Function Documentation

◆ init()

ILIAS\FileDelivery::init ( array|\ArrayAccess &  $define,
array|\ArrayAccess &  $implement,
array|\ArrayAccess &  $use,
array|\ArrayAccess &  $contribute,
array|\ArrayAccess &  $seek,
array|\ArrayAccess &  $provide,
array|\ArrayAccess &  $pull,
array|\ArrayAccess &  $internal 
)

Reimplemented from ILIAS\Component.

Definition at line 31 of file FileDelivery.php.

40 : void {
41 $contribute[Agent::class] = static fn(): \ILIAS\FileDelivery\Setup\Agent =>
43 $pull[Factory::class]
44 );
45
46 $contribute[PublicAsset::class] = fn(): Endpoint =>
47 new Endpoint($this, "deliver.php");
48 }
An endpoint is a PHP file that produces output via HTTP.
Definition: Endpoint.php:29
Builds a Color from either hex- or rgb values.
Definition: Factory.php:31
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.

Field Documentation

◆ HttpServiceAware

trait ILIAS\FileDelivery::HttpServiceAware
Initial value:
{
private static $http
$http
Definition: deliver.php:30

Trait HttpServiceAware.

This trait provide a convenient way to consume the global http state and aids to reduce code duplication.

Please only use this trait if you need the global http state from a static context! Otherwise consider to pass the http global state via constructor (DI).

Author
Nicolas Schäfli ns@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch
Version
1.0
Since
5.3

@Internal

Definition at line 38 of file HttpServiceAware.php.


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