Code Duplication    Length = 8-8 lines in 2 locations

src/eXpansion/Bundle/LocalRecords/Model/Base/Record.php 1 location

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

src/eXpansion/Framework/PlayersBundle/Model/Base/Player.php 1 location

@@ 295-302 (lines=8) @@
292
     *
293
     * @throws PropelException
294
     */
295
    public function getVirtualColumn($name)
296
    {
297
        if (!$this->hasVirtualColumn($name)) {
298
            throw new PropelException(sprintf('Cannot get value of inexistent virtual column %s.', $name));
299
        }
300
301
        return $this->virtualColumns[$name];
302
    }
303
304
    /**
305
     * Set the value of a virtual column in this object