Code Duplication    Length = 8-8 lines in 3 locations

packages/core/src/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

packages/selfprice/src/Models/Selfprice/Base/Selfprice.php 1 location

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

packages/core/src/Models/User/Base/User.php 1 location

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