class DefaultEntityListenerResolver implements EntityListenerResolver (View source)

The default DefaultEntityListener

Methods

void
clear(string $className = null)

Clear all instances from the set, or a specific class when given.

register(object $object)

Register a entity listener instance.

object
resolve(string $className)

Returns a entity listener instance for the given class name.

Details

void clear(string $className = null)

Clear all instances from the set, or a specific class when given.

Parameters

string $className The fully-qualified class name

Return Value

void

register(object $object)

Register a entity listener instance.

Parameters

object $object An entity listener

object resolve(string $className)

Returns a entity listener instance for the given class name.

Parameters

string $className The fully-qualified class name

Return Value

object An entity listener