writeAuditLog example



    /** * @param array<array<string, mixed|null>> $rawData * * @return array<string, array<EntityWriteResult>> */
    public function upsert(EntityDefinition $definition, array $rawData, WriteContext $writeContext): array
    {
        $result = $this->entityWriter->upsert($definition$rawData$writeContext);

        $this->writeAuditLog($result$writeContext);

        return $result;
    }

    /** * @param array<array<string, mixed|null>> $rawData * * @return array<string, array<EntityWriteResult>> */
    public function insert(EntityDefinition $definition, array $rawData, WriteContext $writeContext): array
    {
        
Home | Imprint | This part of the site doesn't use cookies.