Interface SupportsExtensionElements
An interface allowing a type to explicitly declare support for extension elements.
Methods summary
public
Custom
|
#
getExtensionElements( )
Custom extension elements for a resource.
Custom extension elements for a resource.
Returns
Custom extension elements for a resource.
|
public
mixed|null
|
#
findExtensionOfType( string $class )
Finds the first extension of a specified type.
Finds the first extension of a specified type.
Parameters
Returns
mixed|null The extension, or null if none found.
|
public
mixed
|
#
findExtensionsOfType( string $class )
Find the extensions of a specified type.
Find the extensions of a specified type.
Parameters
Returns
mixed The extensions, possibly empty but not null.
|
public
|
#
addExtensionElement( mixed $element )
Add an extension element.
Add an extension element.
Parameters
- $element
- The extension element to add.
|