コード例 #1
0
ファイル: Connection.php プロジェクト: sigma-z/dive
 /**
  * @param string $eventName
  * @param Table  $table
  * @param array  $fields
  * @param array  $identifier
  */
 protected function dispatchRowEvent($eventName, Table $table, array $fields = array(), array $identifier = array())
 {
     if ($this->eventDispatcher) {
         $rowChangeEvent = new ConnectionRowChangeEvent($this, $table, $fields, $identifier);
         $this->eventDispatcher->dispatch($eventName, $rowChangeEvent);
     }
 }