35 private string $id = self::class;
40 ?
string $can_handle_definition_id =
null,
41 string $depends_on_engine = NoEngine::class
59 if ($this->can_handle_definition_id ===
null) {
62 return $this->can_handle_definition_id === $definition->
getId();
dependsOnEngine()
Return the class name of the Engine that is required for this Machine to work.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
string $depends_on_engine
__construct()
FlavourMachines must be able to be created without further dependencies.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
canHandleDefinition(FlavourDefinition $definition)
Check if a corresponding configuration can be processed by this Machine.
processStream(FileInformation $information, FileStream $stream, FlavourDefinition $for_definition)
string $can_handle_definition_id
load(string $id, ?string $can_handle_definition_id=null, string $depends_on_engine=NoEngine::class)
The base interface for all filesystem streams.