1<?php
2
3declare(strict_types=1);
4
5namespace JMS\Serializer\Ordering;
6
7use JMS\Serializer\Metadata\PropertyMetadata;
8
9interface PropertyOrderingInterface
10{
11    /**
12     * @param PropertyMetadata[] $properties name => property
13     *
14     * @return PropertyMetadata[] name => property
15     */
16    public function order(array $properties): array;
17}
18