2017 © Pedro Peláez
 

library arrow-path

image

mprzytulski/arrow-path

  • Sunday, March 25, 2018
  • by mprzytulski
  • Repository
  • 1 Watchers
  • 0 Stars
  • 88 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Array Path

Simple access array with -> notation., (*1)

Examples

Basic example

$arrow = new Arrow(['something' => 1]);
echo $arror->something; 

Output:, (*2)

1

Use naive mode

$arrow = new Arrow(['something' => 1], true);
echo $arror->something->otherthing; 

Output:, (*3)

''

Get original value

$arrow = new Arrow(['something' => 1], true);
var_dump($arror->something()); 

Output:, (*4)

int(1)

The Versions

25/03 2018

dev-master

9999999-dev

  Sources   Download

by Michal Przytulski

25/03 2018

v0.4

0.4.0.0

  Sources   Download

by Michal Przytulski

24/03 2018

v0.1

0.1.0.0

  Sources   Download

by Michal Przytulski

24/03 2018

v0.3

0.3.0.0

  Sources   Download

by Michal Przytulski

24/03 2018

v0.2

0.2.0.0

  Sources   Download

by Michal Przytulski