[ 'shortName' => [ 'Statistic', ], 'description' => [ '', ], 'itemOperations' => [ [ 'get' => [ 'method' => 'GET', 'stateless' => null, 'input_formats' => [ 'jsonld' => [ 'application/ld+json', ], 'json' => [ 'application/json', ], 'html' => [ 'text/html', ], ], 'output_formats' => [ 'jsonld' => [ 'application/ld+json', ], 'json' => [ 'application/json', ], 'html' => [ 'text/html', ], ], ], 'delete' => [ 'method' => 'DELETE', 'stateless' => null, 'input_formats' => [ 'jsonld' => [ 'application/ld+json', ], 'json' => [ 'application/json', ], 'html' => [ 'text/html', ], ], 'output_formats' => [ 'jsonld' => [ 'application/ld+json', ], 'json' => [ 'application/json', ], 'html' => [ 'text/html', ], ], ], 'put' => [ 'method' => 'PUT', 'stateless' => null, 'input_formats' => [ 'jsonld' => [ 'application/ld+json', ], 'json' => [ 'application/json', ], 'html' => [ 'text/html', ], ], 'output_formats' => [ 'jsonld' => [ 'application/ld+json', ], 'json' => [ 'application/json', ], 'html' => [ 'text/html', ], ], ], 'patch' => [ 'method' => 'PATCH', 'stateless' => null, 'input_formats' => [ 'json' => [ 'application/merge-patch+json', ], ], 'output_formats' => [ 'jsonld' => [ 'application/ld+json', ], 'json' => [ 'application/json', ], 'html' => [ 'text/html', ], ], ], ], ], 'collectionOperations' => [ [ 'get' => [ 'method' => 'GET', 'stateless' => null, 'input_formats' => [ 'jsonld' => [ 'application/ld+json', ], 'json' => [ 'application/json', ], 'html' => [ 'text/html', ], ], 'output_formats' => [ 'jsonld' => [ 'application/ld+json', ], 'json' => [ 'application/json', ], 'html' => [ 'text/html', ], ], ], 'post' => [ 'method' => 'POST', 'stateless' => null, 'input_formats' => [ 'jsonld' => [ 'application/ld+json', ], 'json' => [ 'application/json', ], 'html' => [ 'text/html', ], ], 'output_formats' => [ 'jsonld' => [ 'application/ld+json', ], 'json' => [ 'application/json', ], 'html' => [ 'text/html', ], ], ], 'get_min_max_date' => [ 'method' => 'GET', 'path' => '/get-min-max-date', 'controller' => 'GetMinAndMaxDateController::class', 'openapi_context' => [ 'summary' => 'Allows you to retrieve the minimum and maximum date of statistics', 'description' => 'Allows you to retrieve the minimum and maximum date of statistics for all products or according to the list of products given as a parameter', 'parameters' => [ [ 'name' => 'products', 'in' => 'query', 'required' => false, 'description' => 'Liste d\'identifiants de produits', 'schema' => [ 'type' => 'array', 'items' => [ 'type' => 'integer', ], ], ], ], ], 'input' => null, 'output' => null, 'stateless' => null, 'input_formats' => [ 'jsonld' => [ 'application/ld+json', ], 'json' => [ 'application/json', ], 'html' => [ 'text/html', ], ], 'output_formats' => [ 'jsonld' => [ 'application/ld+json', ], 'json' => [ 'application/json', ], 'html' => [ 'text/html', ], ], ], 'get_by_year' => [ 'method' => 'GET', 'path' => '/get-by-year', 'controller' => 'GetByYearController::class', 'openapi_context' => [ 'summary' => 'Allows you to retrieve the statistics by year', 'description' => 'Allows you to retrieve the minimum and maximum date of statistics for all products or according to the list of products given as a parameter', 'parameters' => [ [ 'name' => 'products', 'in' => 'query', 'required' => false, 'description' => 'Liste d\'identifiants de produits', 'schema' => [ 'type' => 'array', 'items' => [ 'type' => 'integer', ], ], ], [ 'name' => 'name', 'in' => 'query', 'required' => false, 'description' => 'Nom en tant que chaîne de caractères', 'schema' => [ 'type' => 'string', ], ], ], ], 'input' => null, 'output' => null, 'stateless' => null, 'input_formats' => [ 'jsonld' => [ 'application/ld+json', ], 'json' => [ 'application/json', ], 'html' => [ 'text/html', ], ], 'output_formats' => [ 'jsonld' => [ 'application/ld+json', ], 'json' => [ 'application/json', ], 'html' => [ 'text/html', ], ], ], 'get_by_month' => [ 'method' => 'GET', 'path' => '/get-by-month', 'controller' => 'GetByMonthController::class', 'openapi_context' => [ 'summary' => 'Allows you to retrieve the statistics by year', 'description' => 'Allows you to retrieve the minimum and maximum date of statistics for all products or according to the list of products given as a parameter', 'parameters' => [ [ 'name' => 'products', 'in' => 'query', 'required' => false, 'description' => 'Liste d\'identifiants de produits', 'schema' => [ 'type' => 'array', 'items' => [ 'type' => 'integer', ], ], ], [ 'name' => 'name', 'in' => 'query', 'required' => false, 'description' => 'Nom en tant que chaîne de caractères', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'to', 'in' => 'query', 'required' => false, 'description' => 'Date au format YYYY-MM', 'schema' => [ 'type' => 'string', ], ], ], ], 'input' => null, 'output' => null, 'stateless' => null, 'input_formats' => [ 'jsonld' => [ 'application/ld+json', ], 'json' => [ 'application/json', ], 'html' => [ 'text/html', ], ], 'output_formats' => [ 'jsonld' => [ 'application/ld+json', ], 'json' => [ 'application/json', ], 'html' => [ 'text/html', ], ], ], 'get_by_day' => [ 'method' => 'GET', 'path' => '/get-by-day', 'controller' => 'GetByDayController::class', 'openapi_context' => [ 'summary' => 'Allows you to retrieve the statistics by day', 'description' => 'Allows you to retrieve the statistics by day', 'parameters' => [ [ 'name' => 'products', 'in' => 'query', 'required' => false, 'description' => 'Liste d\'identifiants de produits', 'schema' => [ 'type' => 'array', 'items' => [ 'type' => 'integer', ], ], ], [ 'name' => 'name', 'in' => 'query', 'required' => false, 'description' => 'Nom en tant que chaîne de caractères', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'to', 'in' => 'query', 'required' => false, 'description' => 'Date au format YYYY-MM', 'schema' => [ 'type' => 'string', ], ], ], ], 'input' => null, 'output' => null, 'stateless' => null, 'input_formats' => [ 'jsonld' => [ 'application/ld+json', ], 'json' => [ 'application/json', ], 'html' => [ 'text/html', ], ], 'output_formats' => [ 'jsonld' => [ 'application/ld+json', ], 'json' => [ 'application/json', ], 'html' => [ 'text/html', ], ], ], ], ], 'graphql' => [ [ 'item_query' => [], 'collection_query' => [], 'delete' => [], 'update' => [], 'create' => [], ], ], 'attributes' => [ [ 'input' => null, 'output' => null, 'filters' => [ 'annotated_app_entity_statistic_api_platform_core_bridge_doctrine_orm_filter_search_filter', 'annotated_app_entity_statistic_api_platform_core_bridge_doctrine_orm_filter_date_filter', 'annotated_app_entity_statistic_api_platform_core_bridge_doctrine_orm_filter_order_filter', ], ], ], ], ], $o[0], [] ); }];