Méthode |
Description |
|
__construct ( FormatRegistry $registry, ClassLoader $loader = null ) |
|
|
applyClasses ( array $classNames, string $value, array $params = [] ) : string |
Apply the a set of classes (indicated by $classNames) to the given value. |
|
classesFromFile ( string $filename ) |
Register classes from a given JSON encoded class definition file. |
|
registerClass ( string $name, array $formatDefinitions ) |
Register a single class with its format definitions. |
|
registerClasses ( array $classDefinitions ) |
Register class definitions. |
|