[ 'repositoryClass' => [ 'App\\Repository\\HotelRepository', ], 'collectionOperations' => [ 1 => [ 'get', 'get_full' => [ 'method' => 'GET', 'path' => '/get-full', 'normalization_context' => [ 'groups' => [ 'poi:read_nested', 'person:read', ], ], ], 'list' => [ 'method' => 'GET', 'path' => '/hotels/list', 'normalization_context' => [ 'groups' => [ 'poi:list', ], ], ], 'get_simple' => [ 'method' => 'GET', 'path' => '/hotels_fl', 'normalization_context' => [ 'groups' => [ 'poi:fl', ], ], ], 'post', ], ], 'attributes' => [ 1 => [ 'normalization_context' => [ 'groups' => [ 'poi:read', ], ], 'denormalization_context' => [ 'groups' => [ 'poi:write', ], ], ], ], ], ], [ $o[0], $o[1], ], [] ); }];