示例#1
0
 protected static function _defineMetadata($class)
 {
     return \Coast\array_merge_smart(parent::_defineMetadata($class), array('fields' => array('dataJson' => ['type' => 'text', 'nullable' => true], 'tagsText' => ['type' => 'string', 'nullable' => true])), self::_defineMetadataPublishable($class));
 }
示例#2
0
 public function __construct()
 {
     parent::__construct();
     $this->structures = new ArrayCollection();
 }