1<?php
2
3namespace Elastica;
4
5/**
6 * Interface for params.
7 *
8 * @author Evgeniy Sokolov <ewgraf@gmail.com>
9 */
10interface ArrayableInterface
11{
12    /**
13     * Converts the object to an array.
14     *
15     * @return array Object as array
16     */
17    public function toArray();
18}
19