DoctrineEmptyCollectionFilter
in package
implements
Filter
Tags
Interfaces, Classes, Traits and Enums
- Filter
- Filter to apply to a property while copying an object
Table of Contents
- apply() : mixed
- Sets the object property to an empty doctrine collection.
Methods
apply()
Sets the object property to an empty doctrine collection.
public
apply(object $object, string $property, callable $objectCopier) : mixed
Parameters
- $object : object
- $property : string
- $objectCopier : callable