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/Instance.php 1 location

@@ 288-295 (lines=8) @@
285
     *
286
     * @throws PropelException
287
     */
288
    public function getVirtualColumn($name)
289
    {
290
        if (!$this->hasVirtualColumn($name)) {
291
            throw new PropelException(sprintf('Cannot get value of inexistent virtual column %s.', $name));
292
        }
293
294
        return $this->virtualColumns[$name];
295
    }
296
297
    /**
298
     * Set the value of a virtual column in this object

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

@@ 305-312 (lines=8) @@
302
     *
303
     * @throws PropelException
304
     */
305
    public function getVirtualColumn($name)
306
    {
307
        if (!$this->hasVirtualColumn($name)) {
308
            throw new PropelException(sprintf('Cannot get value of inexistent virtual column %s.', $name));
309
        }
310
311
        return $this->virtualColumns[$name];
312
    }
313
314
    /**
315
     * 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