public function __construct($id, $name = '') { parent::__construct(Type::INTEGER, $id, ['name' => $name]); }
public function __construct($value) { parent::__construct(Type::BOOLEAN, (bool) $value); }
public function __construct($value) { parent::__construct(Type::INTEGER, $value); }
public function __construct($number) { parent::__construct(Type::STRING, $number); }
/** * @Alias(name="value", alias="value1") */ public function __construct(\DateTime $value) { parent::__construct(Type::DATETIME, $value); }