/** * @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); }