ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
AgentFinder.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 2020 Daniel Weise <daniel.weise@concepts-and-training.de> Extended GPL, see docs/LICENSE */
3 
4 declare(strict_types=1);
5 
6 namespace ILIAS\Setup;
7 
8 interface AgentFinder
9 {
13  public function getAgents() : AgentCollection;
14 
18  public function getCoreAgents() : AgentCollection;
19 
28  public function getPluginAgent(string $name) : Agent;
29 
39  public function getAgentByClassName(string $class_name) : Agent;
40 
47  public function getAgentNameByClassName(string $class_name) : string;
48 }
getAgentNameByClassName(string $class_name)
Derive a name for the agent based on a class name.
getAgentByClassName(string $class_name)
Get an agent by class name.
getCoreAgents()
Collect core agents from the system bundled in a collection.
An agent that is just a collection of some other agents.
getAgents()
Collect all agents from the system, core and plugin, bundled in a collection.
A agent is some component that performs part of the setup process.
Definition: Agent.php:13
getPluginAgent(string $name)
Get a agent from a specific plugin.
if($format !==null) $name
Definition: metadata.php:230
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...