Skip to content
JonathanO edited this page Jun 3, 2012 · 2 revisions

Property

Marks a property to be populated from the arguments list given to the annotation. Personally I prefer to use AnnotationCreator, but it's up to you.

Parameters

  1. type (String) The type of the property. See AnnotationTypes

Examples

The named argument "bar" will be used to populate $bar.

<?
class Foo {

  /**
   * @Property
   */
  public $bar;

Back to Annotations list

Clone this wiki locally