Code Duplication    Length = 8-8 lines in 5 locations

src/cli/Database/Base/Channel.php 1 location

@@ 264-271 (lines=8) @@
261
     *
262
     * @throws PropelException
263
     */
264
    public function getVirtualColumn($name)
265
    {
266
        if (!$this->hasVirtualColumn($name)) {
267
            throw new PropelException(sprintf('Cannot get value of inexistent virtual column %s.', $name));
268
        }
269
270
        return $this->virtualColumns[$name];
271
    }
272
273
    /**
274
     * Set the value of a virtual column in this object

src/cli/Database/Base/Connection.php 1 location

@@ 277-284 (lines=8) @@
274
     *
275
     * @throws PropelException
276
     */
277
    public function getVirtualColumn($name)
278
    {
279
        if (!$this->hasVirtualColumn($name)) {
280
            throw new PropelException(sprintf('Cannot get value of inexistent virtual column %s.', $name));
281
        }
282
283
        return $this->virtualColumns[$name];
284
    }
285
286
    /**
287
     * Set the value of a virtual column in this object

src/cli/Database/Base/User.php 1 location

@@ 279-286 (lines=8) @@
276
     *
277
     * @throws PropelException
278
     */
279
    public function getVirtualColumn($name)
280
    {
281
        if (!$this->hasVirtualColumn($name)) {
282
            throw new PropelException(sprintf('Cannot get value of inexistent virtual column %s.', $name));
283
        }
284
285
        return $this->virtualColumns[$name];
286
    }
287
288
    /**
289
     * Set the value of a virtual column in this object

src/cli/Database/Base/Instance.php 1 location

@@ 303-310 (lines=8) @@
300
     *
301
     * @throws PropelException
302
     */
303
    public function getVirtualColumn($name)
304
    {
305
        if (!$this->hasVirtualColumn($name)) {
306
            throw new PropelException(sprintf('Cannot get value of inexistent virtual column %s.', $name));
307
        }
308
309
        return $this->virtualColumns[$name];
310
    }
311
312
    /**
313
     * Set the value of a virtual column in this object

src/cli/Database/Base/Subscription.php 1 location

@@ 319-326 (lines=8) @@
316
     *
317
     * @throws PropelException
318
     */
319
    public function getVirtualColumn($name)
320
    {
321
        if (!$this->hasVirtualColumn($name)) {
322
            throw new PropelException(sprintf('Cannot get value of inexistent virtual column %s.', $name));
323
        }
324
325
        return $this->virtualColumns[$name];
326
    }
327
328
    /**
329
     * Set the value of a virtual column in this object