interface ObjectContainerInterface (View source)

Methods

contains(object $object)

Indicates if the interface implementation instance contains the given object

attach(object $object)

Make the given object contained in the interface implementation instance.

detach(object $object)

Forget object

Details

contains(object $object)

Indicates if the interface implementation instance contains the given object

Parameters

object $object Object to check

attach(object $object)

Make the given object contained in the interface implementation instance.

Parameters

object $object Object to attach to container

detach(object $object)

Forget object

Parameters

object $object Object to forget