/** * @param array $parameters the parameters defined in "instance" of the annotation * @param array $variables the variables defined in "instance" of the annotation */ public function __construct($parameters, $variables) { $annotationParameters = new ArrayCollection("IonXLab\\JacksonPhp\\annotation\\JacksonAnnotationArgument"); $annotationParameters->addAt("read", new JacksonAnnotationArgument("read", "integer")); $annotationParameters->addAt("write", new JacksonAnnotationArgument("write", "integer")); parent::__construct("access", $annotationParameters, null, $parameters, $variables); }
/** * @param array $parameters the parameters defined in "instance" of the annotation * @param array $variables the variables defined in "instance" of the annotation */ public function __construct($parameters, $variables) { parent::__construct("Id", null, null, $parameters, $variables); }
/** * @param array $parameters the parameters defined in "instance" of the annotation * @param array $variables the variables defined in "instance" of the annotation */ public function __construct($parameters, $variables) { $annotationVariables = new ArrayCollection("IonXLab\\JacksonPhp\\annotation\\JacksonAnnotationArgument"); $annotationVariables->add(new JacksonAnnotationArgument(0, "string")); parent::__construct("var", null, $annotationVariables, $parameters, $variables); }