PluginProbe ʕ •ᴥ•ʔ
Kubio AI Page Builder / 2.8.2
Kubio AI Page Builder v2.8.2
2.8.4 2.8.3 2.8.2 2.8.1 trunk 1.0.0 1.0.1 1.1.0 1.2.0 1.2.1 1.2.2 1.2.3 1.3.0 1.3.1 1.3.2 1.4.0 1.4.1 1.4.2 1.4.3 1.5.0 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.7.0 1.7.1 1.7.2 1.7.3 1.8.0 1.8.1 1.8.2 1.9.0 2.0.0 2.1.1 2.1.2 2.1.3 2.2.0 2.2.3 2.2.4 2.2.5 2.3.0 2.3.1 2.3.3 2.3.4 2.4.0 2.4.1 2.4.2 2.4.3 2.4.5 2.5.0 2.5.1 2.5.2 2.5.3 2.6.0 2.6.1 2.6.2 2.6.3 2.6.5 2.6.6 2.6.7 2.7.0 2.7.1 2.7.2 2.7.3 2.8.0
kubio / vendor / symfony / property-access / PropertyPathInterface.php
kubio / vendor / symfony / property-access Last commit date
Exception 1 year ago CHANGELOG.md 1 year ago LICENSE 1 year ago PropertyAccess.php 4 years ago PropertyAccessor.php 1 year ago PropertyAccessorBuilder.php 1 year ago PropertyAccessorInterface.php 1 year ago PropertyPath.php 1 year ago PropertyPathBuilder.php 1 year ago PropertyPathInterface.php 1 year ago PropertyPathIterator.php 1 year ago PropertyPathIteratorInterface.php 1 year ago README.md 4 years ago composer.json 1 year ago
PropertyPathInterface.php
89 lines
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 * A sequence of property names or array indices.
16 *
17 * @author Bernhard Schussek <bschussek@gmail.com>
18 *
19 * @extends \Traversable<int, string>
20 */
21 interface PropertyPathInterface extends \Traversable
22 {
23 /**
24 * Returns the string representation of the property path.
25 *
26 * @return string
27 */
28 public function __toString();
29
30 /**
31 * Returns the length of the property path, i.e. the number of elements.
32 *
33 * @return int
34 */
35 public function getLength();
36
37 /**
38 * Returns the parent property path.
39 *
40 * The parent property path is the one that contains the same items as
41 * this one except for the last one.
42 *
43 * If this property path only contains one item, null is returned.
44 *
45 * @return self|null
46 */
47 public function getParent();
48
49 /**
50 * Returns the elements of the property path as array.
51 *
52 * @return list<string>
53 */
54 public function getElements();
55
56 /**
57 * Returns the element at the given index in the property path.
58 *
59 * @param int $index The index key
60 *
61 * @return string
62 *
63 * @throws Exception\OutOfBoundsException If the offset is invalid
64 */
65 public function getElement(int $index);
66
67 /**
68 * Returns whether the element at the given index is a property.
69 *
70 * @param int $index The index in the property path
71 *
72 * @return bool
73 *
74 * @throws Exception\OutOfBoundsException If the offset is invalid
75 */
76 public function isProperty(int $index);
77
78 /**
79 * Returns whether the element at the given index is an array index.
80 *
81 * @param int $index The index in the property path
82 *
83 * @return bool
84 *
85 * @throws Exception\OutOfBoundsException If the offset is invalid
86 */
87 public function isIndex(int $index);
88 }
89