Code Duplication    Length = 9-9 lines in 5 locations

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

@@ 1136-1144 (lines=9) @@
1133
     * @return \Jalle19\StatusManager\Database\Channel Clone of current object.
1134
     * @throws PropelException
1135
     */
1136
    public function copy($deepCopy = false)
1137
    {
1138
        // we use get_class(), because this might be a subclass
1139
        $clazz = get_class($this);
1140
        $copyObj = new $clazz();
1141
        $this->copyInto($copyObj, $deepCopy);
1142
1143
        return $copyObj;
1144
    }
1145
1146
    /**
1147
     * Declares an association between this object and a ChildInstance object.

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

@@ 1304-1312 (lines=9) @@
1301
     * @return \Jalle19\StatusManager\Database\Connection Clone of current object.
1302
     * @throws PropelException
1303
     */
1304
    public function copy($deepCopy = false)
1305
    {
1306
        // we use get_class(), because this might be a subclass
1307
        $clazz = get_class($this);
1308
        $copyObj = new $clazz();
1309
        $this->copyInto($copyObj, $deepCopy);
1310
1311
        return $copyObj;
1312
    }
1313
1314
    /**
1315
     * Declares an association between this object and a ChildInstance object.

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

@@ 1193-1201 (lines=9) @@
1190
     * @return \Jalle19\StatusManager\Database\User Clone of current object.
1191
     * @throws PropelException
1192
     */
1193
    public function copy($deepCopy = false)
1194
    {
1195
        // we use get_class(), because this might be a subclass
1196
        $clazz = get_class($this);
1197
        $copyObj = new $clazz();
1198
        $this->copyInto($copyObj, $deepCopy);
1199
1200
        return $copyObj;
1201
    }
1202
1203
    /**
1204
     * Declares an association between this object and a ChildInstance object.

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

@@ 1183-1191 (lines=9) @@
1180
     * @return \Jalle19\StatusManager\Database\Instance Clone of current object.
1181
     * @throws PropelException
1182
     */
1183
    public function copy($deepCopy = false)
1184
    {
1185
        // we use get_class(), because this might be a subclass
1186
        $clazz = get_class($this);
1187
        $copyObj = new $clazz();
1188
        $this->copyInto($copyObj, $deepCopy);
1189
1190
        return $copyObj;
1191
    }
1192
1193
1194
    /**

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

@@ 1632-1640 (lines=9) @@
1629
     * @return \Jalle19\StatusManager\Database\Subscription Clone of current object.
1630
     * @throws PropelException
1631
     */
1632
    public function copy($deepCopy = false)
1633
    {
1634
        // we use get_class(), because this might be a subclass
1635
        $clazz = get_class($this);
1636
        $copyObj = new $clazz();
1637
        $this->copyInto($copyObj, $deepCopy);
1638
1639
        return $copyObj;
1640
    }
1641
1642
    /**
1643
     * Declares an association between this object and a ChildInstance object.