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

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