2017 © Pedro Peláez
 

library object-info-bundle

Allows the mapping and retrieval of arbitraey metadata to object classes

image

symfony-cmf/object-info-bundle

Allows the mapping and retrieval of arbitraey metadata to object classes

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Symfony CMF ObjectInfo Bundle

Build Status Latest Stable Version Total Downloads, (*1)

This bundle is part of the Symfony Content Management Framework (CMF) and licensed under the MIT License., (*2)

This bundle allows you to access inferred information from objects, for example:, (*3)

$object = new Product();
// ...

$objectInfoManager->provideInfo($object);

echo $info['route']['edit']; // http://path/to/edit?id=123
echo $info['title']; // "My product title"
echo $info['icon']; // /path/to/icon.png

Requirements

Documentation

Not yet., (*4)

Contributing

Pull requests are welcome. Please see our CONTRIBUTING guide., (*5)

Unit and/or functional tests exist for this bundle. See the Testing documentation for a guide to running the tests., (*6)

Thanks to everyone who has contributed already., (*7)

Running the tests

The Versions