\AmfphpDiscovery_ParameterDescriptor

Contains all collected information about a service method parameter

Summary

Methods
Properties
Constants
__construct()
$name
$type
$example
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$name

$name : string

name

Type

string

$type

$type : String

This can be gathered in 2 manners: commentary tag analysis and type hinting analysis.

Type

String

$example

$example : string

This can be gathered by commentary tag analysis. It should be in json format so that it can be used by the service browser.

This is an example tag @param object obj This is a really important object. example: {"key":"value"}

Type

string

Methods

__construct()

__construct(String $name, String $type,  $example)

constructor

Parameters

String $name
String $type
$example