示例#1
0
文件: Editor.php 项目: ritalin/omelet
 public function __construct($id, $name = '')
 {
     parent::__construct(Type::INTEGER, $id, ['name' => $name]);
 }
示例#2
0
 public function __construct($value)
 {
     parent::__construct(Type::BOOLEAN, (bool) $value);
 }
示例#3
0
 public function __construct($value)
 {
     parent::__construct(Type::INTEGER, $value);
 }
示例#4
0
 public function __construct($number)
 {
     parent::__construct(Type::STRING, $number);
 }
示例#5
0
 /**
  * @Alias(name="value", alias="value1")
  */
 public function __construct(\DateTime $value)
 {
     parent::__construct(Type::DATETIME, $value);
 }