예제 #1
0
 /**
  * @param Migration\File $sql
  * @return int
  */
 public function execute(Migration\File $sql)
 {
     $count = parent::execute($sql);
     $this->orm->flush();
     $this->orm = NULL;
     return $count;
 }
예제 #2
0
 public function __construct(DibiConnection $dibi)
 {
     parent::__construct(array('dibi' => $dibi));
 }