Remove an item from a list
public static remove ( object $entity, string $property, object $value, array $fns, string $getter = null, string $setter = null ) | ||
$entity | object | |
$property | string | Property name to remove from, not needed if providing both a getter and setter |
$value | object | Value to remove |
$fns | array | Array of getter functions which must have equal value to consider a match |
$getter | string | Custom getter name |
$setter | string | Custom setter name |