ILIAS  release_7 Revision v7.30-3-g800a261c036
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
4declare(strict_types=1);
5
6namespace ILIAS\Setup;
7
8interface 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}
An exception for terminatinating execution or to throw for unit testing.
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.
getAgentNameByClassName(string $class_name)
Derive a name for the agent based on a class name.
getPluginAgent(string $name)
Get a agent from a specific plugin.
getAgentByClassName(string $class_name)
Get an agent by class name.
getCoreAgents()
Collect core agents from the system bundled in a collection.
A agent is some component that performs part of the setup process.
Definition: Agent.php:14
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...