1<?php
2
3namespace Elastica;
4
5/**
6 * Interface for named objects.
7 *
8 * @author Evgeniy Sokolov <ewgraf@gmail.com>
9 */
10interface NameableInterface
11{
12    /**
13     * Retrieve the name of this object.
14     *
15     * @return string
16     */
17    public function getName();
18
19    /**
20     * Set the name of this object.
21     *
22     * @return $this
23     */
24    public function setName(string $name);
25}
26