Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de la classe AlgorithmManagerFactory

Fonctions membres publiques

 add (string $alias, Algorithm $algorithm)
 
 aliases ()
 
 all ()
 
 create (array $aliases)
 

Attributs privés

 $algorithms = []
 

Documentation des fonctions membres

◆ add()

add ( string  $alias,
Algorithm  $algorithm 
)

Adds an algorithm.

Each algorithm is identified by an alias hence it is allowed to have the same algorithm twice (or more). This can be helpful when an algorithm have several configuration options.

◆ aliases()

aliases ( )

Returns the list of aliases.

Renvoie
string[]

◆ all()

all ( )

Returns all algorithms supported by this factory. This is an associative array. Keys are the aliases of the algorithms.

Renvoie
Algorithm[]

Références AlgorithmManagerFactory\$algorithms.

◆ create()

create ( array  $aliases)

Create an algorithm manager using the given aliases.

Paramètres
string[]$aliases
Exceptions
InvalidArgumentExceptionif the alias is invalid or is not supported

Références AlgorithmManagerFactory\$algorithms.

Documentation des champs

◆ $algorithms

$algorithms = []
private

La documentation de cette classe a été générée à partir du fichier suivant :