http://novallia-prod.tryproject.ovh/api/site_affectation?document=110028&user_id=49

Serializer

1 Handled
1.05 ms Total time

serialize 1

Data Context Normalizer Encoder Time
array
Show contents
[
  [
    "id" => 310
    "name" => "CNIM BABCOCK MAROC / PAPREC ENGINEERING CNIM"
    "entity_type" => "CUSTOMER"
    "code" => "CNIM BABCOCK"
    "reference" => "CNIM BABCOCK"
    "year" => ""
    "childrens" => [
      [
        "id" => 310
        "name" => "CNIM BABCOCK MAROC / PAPREC ENGINEERING CNIM"
        "site_name" => "Base Environnement"
        "site_id" => 38347
        "parent_id" => null
        "entity_type" => "site"
        "code" => "Base Environnement"
      ]
    ]
  ]
  [
    "id" => 489
    "name" => "COBCO MAROC"
    "entity_type" => "CUSTOMER"
    "code" => "COBCO MAROC"
    "reference" => "COBCO MAROC"
    "year" => ""
    "childrens" => [
      [
        "id" => 489
        "name" => "COBCO MAROC"
        "site_name" => "Base Environnement "
        "site_id" => 42729
        "parent_id" => null
        "entity_type" => "site"
        "code" => "COBCO MAROC - Env"
      ]
    ]
  ]
  [
    "id" => 505
    "name" => "Groupe OCP"
    "entity_type" => "CUSTOMER"
    "code" => "Groupe OCP"
    "reference" => "Groupe OCP"
    "year" => ""
    "childrens" => [
      [
        "id" => 505
        "name" => "Groupe OCP"
        "site_name" => "OCP Jorf Lasfar "
        "site_id" => 43082
        "parent_id" => null
        "entity_type" => "entity"
        "code" => "OCP- OIJ"
        "childrens" => [
          [
            "id" => 505
            "name" => "Groupe OCP"
            "site_name" => "HSE Site "
            "site_id" => 43083
            "parent_id" => 43082
            "entity_type" => "entity"
            "code" => "OCP- OIJ-HSE Site "
            "childrens" => [
              [
                "id" => 505
                "name" => "Groupe OCP"
                "site_name" => "Base Environnement "
                "site_id" => 43084
                "parent_id" => 43083
                "entity_type" => "site"
                "code" => "OCP- OIJ-HSE Site- Bse ENv"
              ]
            ]
          ]
        ]
      ]
    ]
  ]
  [
    "id" => 408
    "name" => "JESA"
    "entity_type" => "CUSTOMER"
    "code" => "JESA"
    "reference" => "JESA"
    "year" => ""
    "childrens" => [
      [
        "id" => 408
        "name" => "JESA"
        "site_name" => "JESA périmètre certifié "
        "site_id" => 42959
        "parent_id" => null
        "entity_type" => "entity"
        "code" => "JESA périmètre certifié "
        "childrens" => [
          [
            "id" => 408
            "name" => "JESA"
            "site_name" => "Base environnement (ISO 14001) "
            "site_id" => 42960
            "parent_id" => 42959
            "entity_type" => "site"
            "code" => "JESA périmètre certifié_Env"
          ]
        ]
      ]
    ]
  ]
  [
    "id" => 488
    "name" => "MAGHREB STEEL"
    "entity_type" => "CUSTOMER"
    "code" => "MAGHREB STEEL"
    "reference" => "MAGHREB STEEL"
    "year" => ""
    "childrens" => [
      [
        "id" => 488
        "name" => "MAGHREB STEEL"
        "site_name" => "Bled Solb"
        "site_id" => 42725
        "parent_id" => null
        "entity_type" => "entity"
        "code" => "Bled Solb"
        "childrens" => [
          [
            "id" => 488
            "name" => "MAGHREB STEEL"
            "site_name" => "Base Environnement"
            "site_id" => 42726
            "parent_id" => 42725
            "entity_type" => "site"
            "code" => "MAGHREB STEEL- Bled Solb - Base Env"
          ]
        ]
      ]
      [
        "id" => 488
        "name" => "MAGHREB STEEL"
        "site_name" => "TIT MELLIL "
        "site_id" => 42723
        "parent_id" => null
        "entity_type" => "entity"
        "code" => "TIT MELLIL "
        "childrens" => [
          [
            "id" => 488
            "name" => "MAGHREB STEEL"
            "site_name" => "Base Environnement"
            "site_id" => 42721
            "parent_id" => 42723
            "entity_type" => "site"
            "code" => "MAGHREB STEEL- TIT MELLIL - Base Env"
          ]
        ]
      ]
    ]
  ]
  [
    "id" => 503
    "name" => "NAREVA GROUPE"
    "entity_type" => "CUSTOMER"
    "code" => "NAREVA"
    "reference" => "NAREVA"
    "year" => ""
    "childrens" => [
      [
        "id" => 503
        "name" => "NAREVA GROUPE"
        "site_name" => "Energie Eolienne du Maroc"
        "site_id" => 43079
        "parent_id" => null
        "entity_type" => "entity"
        "code" => "EEM"
        "childrens" => [
          [
            "id" => 503
            "name" => "NAREVA GROUPE"
            "site_name" => "Base Environnement "
            "site_id" => 43080
            "parent_id" => 43079
            "entity_type" => "site"
            "code" => "EEM-Base Env"
          ]
        ]
      ]
      [
        "id" => 503
        "name" => "NAREVA GROUPE"
        "site_name" => "NAREVA SIEGE & CONSTRUCTION "
        "site_id" => 43061
        "parent_id" => null
        "entity_type" => "entity"
        "code" => "NAREVA SIEGE & CONSTRUCTION "
        "childrens" => [
          [
            "id" => 503
            "name" => "NAREVA GROUPE"
            "site_name" => "Chantiers de Construction "
            "site_id" => 43065
            "parent_id" => 43061
            "entity_type" => "entity"
            "code" => "Chantiers de Construction "
          ]
          [
            "id" => 503
            "name" => "NAREVA GROUPE"
            "site_name" => "NAREVA SIEGE "
            "site_id" => 43062
            "parent_id" => 43061
            "entity_type" => "entity"
            "code" => "NAREVA SIEGE "
          ]
        ]
      ]
    ]
  ]
  [
    "id" => 437
    "name" => "OCP"
    "entity_type" => "CUSTOMER"
    "code" => "OCP"
    "reference" => "OCP"
    "year" => ""
    "childrens" => [
      [
        "id" => 437
        "name" => "OCP"
        "site_name" => "Base OCP Test"
        "site_id" => 42489
        "parent_id" => null
        "entity_type" => "entity"
        "code" => "OCP.2"
        "childrens" => [
          [
            "id" => 437
            "name" => "OCP"
            "site_name" => "Base Environnement"
            "site_id" => 42564
            "parent_id" => 42489
            "entity_type" => "site"
            "code" => "OCP.2.1"
          ]
        ]
      ]
    ]
  ]
  [
    "id" => 361
    "name" => "SMF LASER"
    "entity_type" => "CUSTOMER"
    "code" => "SMF LASER"
    "reference" => "SMF LASER"
    "year" => ""
    "childrens" => [
      [
        "id" => 361
        "name" => "SMF LASER"
        "site_name" => "Base Environnement "
        "site_id" => 41079
        "parent_id" => null
        "entity_type" => "site"
        "code" => "Base Environnement "
      ]
    ]
  ]
  [
    "id" => 496
    "name" => "SYNGENTA SEMENCES"
    "entity_type" => "CUSTOMER"
    "code" => "SYN"
    "reference" => "SYNGENTA"
    "year" => ""
    "childrens" => [
      [
        "id" => 496
        "name" => "SYNGENTA SEMENCES"
        "site_name" => "Base environnement "
        "site_id" => 43016
        "parent_id" => null
        "entity_type" => "site"
        "code" => "SYNGENTA MAROC ENV"
      ]
    ]
  ]
  [
    "id" => 499
    "name" => "TAREC"
    "entity_type" => "CUSTOMER"
    "code" => "TRC"
    "reference" => "TAREC"
    "year" => ""
    "childrens" => [
      [
        "id" => 499
        "name" => "TAREC"
        "site_name" => "Base Environnement "
        "site_id" => 43033
        "parent_id" => null
        "entity_type" => "site"
        "code" => "TAREC-Environnement "
      ]
    ]
  ]
]
Format: json
Show context
[
  "groups" => [
    "site.get"
    "document.get"
    "user.get"
    "customer.get"
    "discussion.get"
  ]
  "operation_name" => "_api_/site_affectation"
  "operation" => ApiPlatform\Metadata\GetCollection {#1678
    #input: null
    #output: null
    #provider: "ApiPlatform\Doctrine\Orm\State\CollectionProvider"
    #processor: "api_platform.doctrine.orm.state.persist_processor"
    #shortName: "Site"
    #class: "App\Entity\Site"
    #paginationEnabled: null
    #paginationType: null
    #paginationItemsPerPage: null
    #paginationMaximumItemsPerPage: 30
    #paginationPartial: null
    #paginationClientEnabled: null
    #paginationClientItemsPerPage: true
    #paginationClientPartial: null
    #paginationFetchJoinCollection: null
    #paginationUseOutputWalkers: null
    #paginationViaCursor: null
    #order: null
    #description: null
    #normalizationContext: [
      "groups" => [
        "site.get"
        "document.get"
        "user.get"
        "customer.get"
        "discussion.get"
      ]
    ]
    #denormalizationContext: [
      "groups" => [
        "site.write"
      ]
    ]
    #security: null
    #securityMessage: null
    #securityPostDenormalize: null
    #securityPostDenormalizeMessage: null
    #securityPostValidation: null
    #securityPostValidationMessage: null
    #deprecationReason: null
    #filters: [
      "annotated_app_entity_site_api_platform_doctrine_orm_filter_search_filter"
    ]
    #validationContext: null
    #mercure: null
    #messenger: null
    #elasticsearch: null
    #urlGenerationStrategy: null
    #read: false
    #deserialize: null
    #validate: null
    #write: false
    #serialize: null
    #fetchPartial: null
    #forceEager: null
    #priority: 2
    #name: "_api_/site_affectation"
    #extraProperties: [
      "user_defined_uri_template" => true
    ]
    #method: "GET"
    #uriTemplate: "/site_affectation"
    #types: null
    #formats: null
    #inputFormats: [
      "json" => [
        "application/json"
      ]
      "jsonld" => [
        "application/ld+json"
      ]
      "html" => [
        "text/html"
      ]
      "multipart" => [
        "multipart/form-data"
      ]
    ]
    #outputFormats: [
      "json" => [
        "application/json"
      ]
      "jsonld" => [
        "application/ld+json"
      ]
      "html" => [
        "text/html"
      ]
      "multipart" => [
        "multipart/form-data"
      ]
    ]
    #uriVariables: []
    #routePrefix: null
    #routeName: null
    #defaults: null
    #requirements: null
    #options: null
    #stateless: null
    #sunset: null
    #acceptPatch: null
    #status: null
    #host: null
    #schemes: null
    #condition: null
    #controller: "App\Controller\Action\SiteAffectationController"
    #cacheHeaders: null
    #hydraContext: null
    #openapiContext: null
    #openapi: null
    #exceptionToStatus: null
    #queryParameterValidationEnabled: null
    -itemUriTemplate: null
  }
  "resource_class" => "App\Entity\Site"
  "skip_null_values" => true
  "iri_only" => false
  "request_uri" => "/api/site_affectation?document=110028&user_id=49"
  "uri" => "http://novallia-prod.tryproject.ovh/api/site_affectation?document=110028&user_id=49"
  "input" => null
  "output" => null
  "resources" => & ApiPlatform\Serializer\ResourceList {#2381
    -storage: []
    flag::STD_PROP_LIST: false
    flag::ARRAY_AS_PROPS: false
    iteratorClass: "ArrayIterator"
  }
  "exclude_from_cache_key" => [
    "resources"
    "resources_to_push"
  ]
  "resources_to_push" => & ApiPlatform\Serializer\ResourceList {#2382
    -storage: []
    flag::STD_PROP_LIST: false
    flag::ARRAY_AS_PROPS: false
    iteratorClass: "ArrayIterator"
  }
]
JsonEncoder (0.05 ms) 1.05 ms

deserialize 0

Nothing was deserialized.

normalize 0

Nothing was normalized.

denormalize 0

Nothing was denormalized.

encode 0

Nothing was encoded.

decode 0

Nothing was decoded.