Note: this returns an UUID even if the object has not been persisted
in case of AOP-managed entities. Use isNewObject() if you need
to distinguish those cases.
public getIdentifierByObject ( object $object ) : string | ||
$object | object | |
Résultat | string |