public function toItemUUID($object): ? ItemUUID
    {
        foreach ($this->writeTransformers as $writeTransformer) {
            if ($writeTransformer->isValidObject($object)) {
                return $writeTransformer->toItemUUID($object);
            }
        }

        return null;
    }
public function toItemUUID($object): ? ItemUUID
    {
        foreach ($this->writeTransformers as $writeTransformer) {
            if ($writeTransformer->isValidObject($object)) {
                return $writeTransformer->toItemUUID($object);
            }
        }

        return null;
    }
public function toItemUUID ( $ object ) : ? ItemUUID { foreach ( $ this -> writeTransformers as $ writeTransformer ) { if ( $ writeTransformer -> isValidObject ( $ object ) ) { return $ writeTransformer -> toItemUUID ( $ object ) ; } } return null ; }
Transform an object into an itemUUID or return NULL if the object is not
transformable.

@param mixed $object

@return ItemUUID|null
Transform an object into an itemUUID or return NULL if the object is not transformable .