PhpRiot
Follow phpriot on Twitter
Sponsored Link
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store
Free iPad/iPhone App
Available on the App Store

  • PHP manual
  • Zend Framework manual
  • Smarty manual
  • PHP articles
  • PHP training

Zend_Reflection_Parameter

Zend_Reflection_Parameter adds a method for retrieving the parameter type, as well as overrides methods to allow specifying the reflection class to use on returned reflection objects.

  • getDeclaringClass($reflectionClass = 'Zend_Reflection_Class'): get the declaring class of the parameter as a reflection object (if available).

  • getClass($reflectionClass = 'Zend_Reflection_Class'): get the class of the parameter as a reflection object (if available).

  • getDeclaringFunction($reflectionClass = 'Zend_Reflection_Function'): get the function of the parameter as a reflection object (if available).

  • getType(): get the parameter type.

Zend Framework