MMOframework
Pourquoi l'IA Playground Bibliothèques Documentation Rechercher Agence
FR EN
Index

iCoercer

MMO\core\interfaces · 1 symbole · générée le 27 Oct 2026

interface

iCoercer

iConverter.php:18
interface MMO\core\interfaces\iCoercer extends MMO\core\interfaces\iConverter
Espace de noms
MMO\core\interfaces
Implémente
iConverter

Index

hasType($type) abstract
__invoke($value, $options, $types) abstractConvert any value to the first working given type

Méthodes2

__invoke($value, $options, $types)

abstractiConverter.php:26

Convert any value to the first working given type

abstract function __invoke(mixed $value, array $options = [], array $types = []): mixed
$valuemixed
$options = []arrayuser defined options
$types = []array
retournemixed