Code Duplication    Length = 8-8 lines in 2 locations

app/Models/Task/Base/Task.php 1 location

@@ 239-246 (lines=8) @@
236
     *
237
     * @throws PropelException
238
     */
239
    public function getVirtualColumn($name)
240
    {
241
        if (!$this->hasVirtualColumn($name)) {
242
            throw new PropelException(sprintf('Cannot get value of inexistent virtual column %s.', $name));
243
        }
244
245
        return $this->virtualColumns[$name];
246
    }
247
248
    /**
249
     * Set the value of a virtual column in this object

app/Models/User/Base/User.php 1 location

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