Debian Codegraph @

lib/3rdParty/composer/symfony/property-access/PropertyPathIteratorInterface.php

raw symbols SCIP
1 <?php
2
3 /*
4 * This file is part of the Symfony package.
5 *
6 * (c) Fabien Potencier <[email protected]>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12 namespace Symfony\Component\PropertyAccess;
13
14 /**
15 * @author Bernhard Schussek <[email protected]>
16 *
17 * @extends \SeekableIterator<int, string>
18 */
19 interface PropertyPathIteratorInterface extends \SeekableIterator
20 {
21 /**
22 * Returns whether the current element in the property path is an array
23 * index.
24 */
25 public function isIndex(): bool;
26
27 /**
28 * Returns whether the current element in the property path is a property
29 * name.
30 */
31 public function isProperty(): bool;
32 }