Пример #1
0
         *
         * @return string
         */
        public function getPropertyPath()
        {
            return $this->_get(3);
        }
        /**
         * Set <propertyPath> value
         *
         * @param string $value
         * @return \Ws\ConstraintViolationErrorDto
         */
        public function setPropertyPath($value)
        {
            return $this->_set(3, $value);
        }
    }
}
namespace {
    \Ws\ClientErrorDto::extension(function () {
        // REPEATED MESSAGE Ws.ConstraintViolationErrorDto.errors = 1002
        $f = new \DrSlump\Protobuf\Field();
        $f->number = 1002;
        $f->name = "Ws.ConstraintViolationErrorDto.errors";
        $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
        $f->rule = \DrSlump\Protobuf::RULE_REPEATED;
        $f->reference = '\\Ws\\ConstraintViolationErrorDto';
        return $f;
    });
}
Пример #2
0
 });
 \Ws\ClientErrorDto::extension(function () {
     // REPEATED MESSAGE Magma.DatasourceParsingErrorDto.errors = 1000
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 1000;
     $f->name = "Magma.DatasourceParsingErrorDto.errors";
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->rule = \DrSlump\Protobuf::RULE_REPEATED;
     $f->reference = '\\Magma\\DatasourceParsingErrorDto';
     return $f;
 });
 \Ws\ClientErrorDto::extension(function () {
     // REPEATED MESSAGE Magma.JavaScriptErrorDto.errors = 1001
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 1001;
     $f->name = "Magma.JavaScriptErrorDto.errors";
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->rule = \DrSlump\Protobuf::RULE_REPEATED;
     $f->reference = '\\Magma\\JavaScriptErrorDto';
     return $f;
 });
 \Magma\ViewDto::extension(function () {
     // OPTIONAL MESSAGE Magma.JavaScriptViewDto.view = 1000
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 1000;
     $f->name = "Magma.JavaScriptViewDto.view";
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->reference = '\\Magma\\JavaScriptViewDto';
     return $f;
 });
 \Magma\ViewDto::extension(function () {