symfony-cmf/object-info-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

Allows the mapping and retrieval of arbitraey metadata to object classes

dev-master / 1.0.x-dev 2014-12-27 18:16 UTC

This package is auto-updated.

Last update: 2021-09-23 07:45:00 UTC


README

Build Status Latest Stable Version Total Downloads

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

This bundle allows you to access inferred information from objects, for example:

$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.

Contributing

Pull requests are welcome. Please see our CONTRIBUTING guide.

Unit and/or functional tests exist for this bundle. See the Testing documentation for a guide to running the tests.

Thanks to everyone who has contributed already.

Running the tests