diff options
Diffstat (limited to 'vendor/symfony/property-access/Symfony/Component/PropertyAccess/PropertyPathIteratorInterface.php')
-rw-r--r-- | vendor/symfony/property-access/Symfony/Component/PropertyAccess/PropertyPathIteratorInterface.php | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/vendor/symfony/property-access/Symfony/Component/PropertyAccess/PropertyPathIteratorInterface.php b/vendor/symfony/property-access/Symfony/Component/PropertyAccess/PropertyPathIteratorInterface.php new file mode 100644 index 00000000..cb43f8d7 --- /dev/null +++ b/vendor/symfony/property-access/Symfony/Component/PropertyAccess/PropertyPathIteratorInterface.php | |||
@@ -0,0 +1,34 @@ | |||
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 | } | ||