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