Esempio n. 1
0
 /**
  * @param ConnectionInterface $connection
  * @param integer $id
  * @return string
  */
 public function combineId(ConnectionInterface $connection, $id)
 {
     if (!is_numeric($id)) {
         throw new InvalidArgumentException('Specified job id must be a number.');
     }
     return "{$connection->getName()}.{$id}";
 }