Наследование: use trait Storm\Core\Helpers\Type
Пример #1
0
 public final function AddTrait(ColumnTrait $Trait)
 {
     if (!$Trait->AllowMultiple() && $this->HasTrait($Trait->GetType())) {
         throw new Relational\RelationalException('Column cannot contain multiple traits of type %s', $Trait->GetType());
     } else {
         $this->Traits[] = $Trait;
     }
 }