Ejemplo n.º 1
0
 /**
  * @param Quota $quota
  * @return void
  */
 function Add(Quota $quota)
 {
     $command = new AddQuotaCommand($quota->GetDuration()->Name(), $quota->GetLimit()->Amount(), $quota->GetLimit()->Name(), $quota->ResourceId(), $quota->GroupId(), $quota->ScheduleId());
     ServiceLocator::GetDatabase()->Execute($command);
 }