App\Entity\TimeControl\TimeEntry
Resource class
Resource Metadata
Short name: "TimeEntry"
| Item operations | Attributes |
|---|---|
| get | [ "method" => "GET" "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] "xlsx" => [ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] "xlsx" => [ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ] ] ] |
| put | [ "security" => "is_granted('ENTRY_MODIFY', object)" "input" => null "output" => null "method" => "PUT" "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] "xlsx" => [ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] "xlsx" => [ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ] ] ] |
| delete | [ "security" => "is_granted('ENTRY_DELETE', object)" "security_message" => "No access to Time Entry delete, or TE is Blocked" "input" => null "output" => null "method" => "DELETE" "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] "xlsx" => [ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] "xlsx" => [ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ] ] ] |
| patch | [ "security" => "is_granted('ENTRY_MODIFY', object)" "security_message" => "No access to Time Entry modification" "input" => null "output" => null "method" => "PATCH" "stateless" => null "input_formats" => [ "json" => [ "application/merge-patch+json" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] "xlsx" => [ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ] ] ] |
| close | [ "method" => "PATCH" "path" => "time-entries/{id}/close" "security" => "is_granted('ENTRY_MODIFY', object)" "openapi_context" => [ "summary" => "Closes current Time entry" ] "validation_groups" => [ "open" ] "input" => null "output" => null "stateless" => null "input_formats" => [ "json" => [ "application/merge-patch+json" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] "xlsx" => [ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ] ] ] |
| break | [ "method" => "PATCH" "path" => "time-entries/{id}/break" "security" => "is_granted('ENTRY_MODIFY', object)" "input" => [ "class" => "App\Dto\TimeEntryBreakInput" "name" => "TimeEntryBreakInput" ] "openapi_context" => [ "summary" => "Break Time entry" ] "output" => null "stateless" => null "input_formats" => [ "json" => [ "application/merge-patch+json" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] "xlsx" => [ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ] ] ] |
| approved | [ "method" => "PATCH" "path" => "time-entries/{id}/approved" "security" => "is_granted('ENTRY_APPROVED', object)" "input" => [ "class" => "App\Dto\TimeEntryApproveInput" "name" => "TimeEntryApproveInput" ] "openapi_context" => [ "summary" => "Approved flag for TimeEntry is set by project manager or higher" ] "output" => null "stateless" => null "input_formats" => [ "json" => [ "application/merge-patch+json" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] "xlsx" => [ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ] ] ] |
| patch-te | [ "method" => "PATCH" "path" => "time-entries/{id}/fix" "input" => [ "class" => "App\Dto\TimeEntryFixInput" "name" => "TimeEntryFixInput" ] "output" => [ "class" => "App\Dto\TimeEntryFixOutput" "name" => "TimeEntryFixOutput" ] "security" => "is_granted('ROLE_USER_FIXER')" "openapi_context" => [ "summary" => "Set fix $ approved for time-entries" ] "stateless" => null "input_formats" => [ "json" => [ "application/merge-patch+json" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] "xlsx" => [ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ] ] ] |
| Collection operations | Attributes |
|---|---|
| get | [ "method" => "GET" "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] "xlsx" => [ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] "xlsx" => [ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ] ] ] |
| post | [ "security_post_denormalize" => "is_granted('ENTRY_CREATE', object)" "security_message" => "Only developer himself or Project Manager can create Time entries" "validation_groups" => [ "create" ] "input" => null "output" => null "method" => "POST" "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] "xlsx" => [ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] "xlsx" => [ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ] ] ] |
| developers | [ "method" => "GET" "path" => "time-entries/developers" "openapi_context" => [ "summary" => "Get time for developers" ] "output" => [ "class" => "App\Dto\DeveloperTimeOutput" "name" => "DeveloperTimeOutput" ] "input" => null "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] "xlsx" => [ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] "xlsx" => [ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ] ] ] |
| open | [ "method" => "POST" "security_post_denormalize" => "is_granted('ENTRY_OPEN', object)" "security_message" => "Unable to open time entry for another user" "path" => "time-entries/open" "openapi_context" => [ "summary" => "Open Time entry" ] "validation_groups" => [ "open" ] "input" => null "output" => null "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] "xlsx" => [ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] "xlsx" => [ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ] ] ] |
| Filters | |
|---|---|
annotated_app_entity_time_control_time_entry_api_platform_core_bridge_doctrine_orm_filter_date_filter
"ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\DateFilter"
|
|
annotated_app_entity_time_control_time_entry_api_platform_core_bridge_doctrine_orm_filter_search_filter
"ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\SearchFilter"
|
|
annotated_app_entity_time_control_time_entry_api_platform_core_bridge_doctrine_orm_filter_exists_filter
"ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\ExistsFilter"
|
|
annotated_app_entity_time_control_time_entry_api_platform_core_bridge_doctrine_orm_filter_order_filter
"ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\OrderFilter"
|
| Attributes | |
|---|---|
| order | [ "start" => "ASC" ] |
| cache_headers | [ "etag" => true "max_age" => 3600 "shared_max_age" => 3600 "vary" => [ "Accept" ] ] |
| denormalization_context | null |
| deprecation_reason | null |
| elasticsearch | null |
| fetch_partial | null |
| force_eager | null |
| formats | null |
| hydra_context | null |
| input | null |
| mercure | null |
| messenger | null |
| normalization_context | null |
| openapi_context | null |
| output | null |
| pagination_client_enabled | true |
| pagination_client_items_per_page | true |
| pagination_client_partial | false |
| pagination_via_cursor | null |
| pagination_enabled | true |
| pagination_fetch_join_collection | null |
| pagination_items_per_page | 30 |
| pagination_maximum_items_per_page | 500 |
| pagination_partial | false |
| route_prefix | null |
| security | null |
| security_message | null |
| security_post_denormalize | null |
| security_post_denormalize_message | null |
| stateless | null |
| sunset | null |
| swagger_context | null |
| validation_groups | null |
| url_generation_strategy | null |
| composite_identifier | null |
Data Providers
No calls to collection data provider have been recorded.
No calls to item data provider have been recorded.
No calls to subresource data provider have been recorded.
Data Persisters
No calls to data persister have been recorded.