Download the PHP package dawen/api-doc-property-bundle without Composer
On this page you can find all versions of the php package dawen/api-doc-property-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package api-doc-property-bundle
api-doc-property-bundle
This bundle allows you to expose properties for api documentation that are not handled by json, jms or validator parsers
Installation
Require the dawen/api-doc-property-bundle package in your composer.json and update your dependencies.
Register the bundle in app/AppKernel.php:
Usage And Examples
For defining a property you can add a new annotation to your property
Available properties for setting your informations:
name
Type: string
Description: Name of the property. If this is not set, then the name of the class property will be taken
description
Type: string
Description: This will be set as description for the property
type
Types: all php types, full qualified class name, array<full qualified class name>
Description: The type property has no strict limitation. you can write whatever you want. But keep in mind,
that it appears in the api documentation. There is only some magic for classes and array of objects. This will be parsed recursively
Example for a simple class:
All versions of api-doc-property-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5.0
symfony/framework-bundle Version ~2.3|~3.0
nelmio/api-doc-bundle Version ~2.11
symfony/framework-bundle Version ~2.3|~3.0
nelmio/api-doc-bundle Version ~2.11
The package dawen/api-doc-property-bundle contains the following files
Loading the files please wait ....