2017 © Pedro Peláez
 

library property-access

Endroid Property Access

image

endroid/property-access

Endroid Property Access

  • Monday, April 16, 2018
  • by endroid
  • Repository
  • 2 Watchers
  • 2 Stars
  • 916 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 15 Versions
  • 10 % Grown

The README.md

Property Access

By endroid, (*1)

Latest Stable Version Build Status Total Downloads Monthly Downloads License, (*2)

Extends the Symfony property accessor with the ability to filter on objects using the expression language component. An example of such a query would be band.member[address.street=="Abbey Road"].firstName. This functionality makes it easier to retrieve properties without the need for looping through values., (*3)

Great advantage of this approach is the possibility of specifying conditional mapping via configuration instead of code., (*4)

Installation

Use Composer to install the library., (*5)

``` bash $ composer require endroid/property-access, (*6)


## Usage ```php <?php use Endroid\PropertyAccess\PropertyAccessor; $accessor = new PropertyAccessor(); // Returns the first name of the first band member that lives on Abbey Road $firstName = $accessor->getValue($band, 'member[address.street=Abbey Road][0].firstName');

Versioning

Version numbers follow the MAJOR.MINOR.PATCH scheme. Backwards compatibility breaking changes will be kept to a minimum but be aware that these can occur. Lock your dependencies for production and test your code when upgrading., (*7)

License

This bundle is under the MIT license. For the full copyright and license information please view the LICENSE file that was distributed with this source code., (*8)

The Versions

16/04 2018
04/03 2018

2.0.0

2.0.0.0 https://github.com/endroid/property-access

Endroid Property Access

  Sources   Download

MIT

The Requires

 

The Development Requires

php access endroid property

31/12 2017

1.x-dev

1.9999999.9999999.9999999-dev https://github.com/endroid/property-access

Endroid Property Access

  Sources   Download

MIT

The Requires

 

The Development Requires

access endroid property

01/01 2017

1.1.0

1.1.0.0 https://github.com/endroid/PropertyAccess

Endroid Property Access

  Sources   Download

MIT

The Requires

 

The Development Requires

access endroid property

01/01 2016

1.0.10

1.0.10.0 https://github.com/endroid/PropertyAccess

Endroid Property Access

  Sources   Download

MIT

The Requires

 

access endroid property

01/01 2016
01/01 2016

1.0.8

1.0.8.0 https://github.com/endroid/PropertyAccess

Endroid Property Access

  Sources   Download

MIT

The Requires

 

access endroid property

20/08 2015

1.0.1

1.0.1.0 https://github.com/endroid/PropertyAccess

Endroid Property Access

  Sources   Download

MIT

The Requires

 

The Development Requires

access endroid property

19/08 2015

1.0.0

1.0.0.0 https://github.com/endroid/PropertyAccess

Endroid Property Access

  Sources   Download

MIT

The Requires

 

The Development Requires

access endroid property