mprzytulski / arrow-path
Installs: 99
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/mprzytulski/arrow-path
This package is not auto-updated.
Last update: 2025-10-12 11:10:30 UTC
README
Simple access array with ->
notation.
Examples
Basic example
$arrow = new Arrow(['something' => 1]); echo $arror->something;
Output:
1
Use naive mode
$arrow = new Arrow(['something' => 1], true); echo $arror->something->otherthing;
Output:
''
Get original value
$arrow = new Arrow(['something' => 1], true); var_dump($arror->something());
Output:
int(1)