]> git.immae.eu Git - github/wallabag/wallabag.git/blob - vendor/symfony/property-access/Symfony/Component/PropertyAccess/PropertyPathIteratorInterface.php
twig implementation
[github/wallabag/wallabag.git] / vendor / symfony / property-access / Symfony / Component / PropertyAccess / PropertyPathIteratorInterface.php
1 <?php
2
3 /*
4 * This file is part of the Symfony package.
5 *
6 * (c) Fabien Potencier <fabien@symfony.com>
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 <bschussek@gmail.com>
16 */
17 interface PropertyPathIteratorInterface extends \Iterator, \SeekableIterator
18 {
19 /**
20 * Returns whether the current element in the property path is an array
21 * index.
22 *
23 * @return Boolean
24 */
25 public function isIndex();
26
27 /**
28 * Returns whether the current element in the property path is a property
29 * name.
30 *
31 * @return Boolean
32 */
33 public function isProperty();
34 }