Creates a new instance which will contain the given object. If an object with the same reference already exists,
it will be overridden by the new object.
public with ( Nelmio\Alice\ObjectInterface $object ) : self | ||
$object | Nelmio\Alice\ObjectInterface | |
return | self |