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
Requires
- symfony/expression-language: ~2.3
- twig/twig: 1.*
Requires (Dev)
Suggests
- doctrine/phpcr-bundle: To enable support for the PHPCR ODM documents
- doctrine/phpcr-odm: To enable support for the PHPCR ODM documents
This package is auto-updated.
Last update: 2021-09-23 07:45:00 UTC
README
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
- Symfony 2.2.x
- See also the
require
section of composer.json
Documentation
Not yet.
- All Symfony CMF documentation - complete Symfony CMF reference
- Symfony CMF Website - introduction, live demo, support and community links
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.