示例#1
0
文件: Enum.php 项目: nikolas/db_type
 public function __construct(DB_Type_Abstract_Base $type, $given)
 {
     $items = join(',', $type->getItems());
     parent::__construct($type, "output", "one of [{$items}]", $given, 0);
 }