src/cli/Database/Base/Channel.php 1 location
                
                
                    
                                                
                                                    
                                 | 
                                
                                    @@ 218-233 (lines=16) @@
                                 | 
                            
                                                            
                                    | 215 | 
                                     | 
                                         * @param  mixed   $obj The object to compare to.  | 
                                
                                                            
                                    | 216 | 
                                     | 
                                         * @return boolean Whether equal to the object specified.  | 
                                
                                                            
                                    | 217 | 
                                     | 
                                         */  | 
                                
                                                            
                                    | 218 | 
                                     | 
                                        public function equals($obj)  | 
                                
                                                            
                                    | 219 | 
                                     | 
                                        { | 
                                
                                                            
                                    | 220 | 
                                     | 
                                            if (!$obj instanceof static) { | 
                                
                                                            
                                    | 221 | 
                                     | 
                                                return false;  | 
                                
                                                            
                                    | 222 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 223 | 
                                     | 
                                     | 
                                
                                                            
                                    | 224 | 
                                     | 
                                            if ($this === $obj) { | 
                                
                                                            
                                    | 225 | 
                                     | 
                                                return true;  | 
                                
                                                            
                                    | 226 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 227 | 
                                     | 
                                     | 
                                
                                                            
                                    | 228 | 
                                     | 
                                            if (null === $this->getPrimaryKey() || null === $obj->getPrimaryKey()) { | 
                                
                                                            
                                    | 229 | 
                                     | 
                                                return false;  | 
                                
                                                            
                                    | 230 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 231 | 
                                     | 
                                     | 
                                
                                                            
                                    | 232 | 
                                     | 
                                            return $this->getPrimaryKey() === $obj->getPrimaryKey();  | 
                                
                                                            
                                    | 233 | 
                                     | 
                                        }  | 
                                
                                                            
                                    | 234 | 
                                     | 
                                     | 
                                
                                                            
                                    | 235 | 
                                     | 
                                        /**  | 
                                
                                                            
                                    | 236 | 
                                     | 
                                         * Get the associative array of the virtual columns in this object  | 
                                
                                                                        
                 
                                                            
                    
src/cli/Database/Base/Connection.php 1 location
                
                
                    
                                                
                                                    
                                 | 
                                
                                    @@ 231-246 (lines=16) @@
                                 | 
                            
                                                            
                                    | 228 | 
                                     | 
                                         * @param  mixed   $obj The object to compare to.  | 
                                
                                                            
                                    | 229 | 
                                     | 
                                         * @return boolean Whether equal to the object specified.  | 
                                
                                                            
                                    | 230 | 
                                     | 
                                         */  | 
                                
                                                            
                                    | 231 | 
                                     | 
                                        public function equals($obj)  | 
                                
                                                            
                                    | 232 | 
                                     | 
                                        { | 
                                
                                                            
                                    | 233 | 
                                     | 
                                            if (!$obj instanceof static) { | 
                                
                                                            
                                    | 234 | 
                                     | 
                                                return false;  | 
                                
                                                            
                                    | 235 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 236 | 
                                     | 
                                     | 
                                
                                                            
                                    | 237 | 
                                     | 
                                            if ($this === $obj) { | 
                                
                                                            
                                    | 238 | 
                                     | 
                                                return true;  | 
                                
                                                            
                                    | 239 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 240 | 
                                     | 
                                     | 
                                
                                                            
                                    | 241 | 
                                     | 
                                            if (null === $this->getPrimaryKey() || null === $obj->getPrimaryKey()) { | 
                                
                                                            
                                    | 242 | 
                                     | 
                                                return false;  | 
                                
                                                            
                                    | 243 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 244 | 
                                     | 
                                     | 
                                
                                                            
                                    | 245 | 
                                     | 
                                            return $this->getPrimaryKey() === $obj->getPrimaryKey();  | 
                                
                                                            
                                    | 246 | 
                                     | 
                                        }  | 
                                
                                                            
                                    | 247 | 
                                     | 
                                     | 
                                
                                                            
                                    | 248 | 
                                     | 
                                        /**  | 
                                
                                                            
                                    | 249 | 
                                     | 
                                         * Get the associative array of the virtual columns in this object  | 
                                
                                                                        
                 
                                                            
                    
src/cli/Database/Base/Instance.php 1 location
                
                
                    
                                                
                                                    
                                 | 
                                
                                    @@ 242-257 (lines=16) @@
                                 | 
                            
                                                            
                                    | 239 | 
                                     | 
                                         * @param  mixed   $obj The object to compare to.  | 
                                
                                                            
                                    | 240 | 
                                     | 
                                         * @return boolean Whether equal to the object specified.  | 
                                
                                                            
                                    | 241 | 
                                     | 
                                         */  | 
                                
                                                            
                                    | 242 | 
                                     | 
                                        public function equals($obj)  | 
                                
                                                            
                                    | 243 | 
                                     | 
                                        { | 
                                
                                                            
                                    | 244 | 
                                     | 
                                            if (!$obj instanceof static) { | 
                                
                                                            
                                    | 245 | 
                                     | 
                                                return false;  | 
                                
                                                            
                                    | 246 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 247 | 
                                     | 
                                     | 
                                
                                                            
                                    | 248 | 
                                     | 
                                            if ($this === $obj) { | 
                                
                                                            
                                    | 249 | 
                                     | 
                                                return true;  | 
                                
                                                            
                                    | 250 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 251 | 
                                     | 
                                     | 
                                
                                                            
                                    | 252 | 
                                     | 
                                            if (null === $this->getPrimaryKey() || null === $obj->getPrimaryKey()) { | 
                                
                                                            
                                    | 253 | 
                                     | 
                                                return false;  | 
                                
                                                            
                                    | 254 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 255 | 
                                     | 
                                     | 
                                
                                                            
                                    | 256 | 
                                     | 
                                            return $this->getPrimaryKey() === $obj->getPrimaryKey();  | 
                                
                                                            
                                    | 257 | 
                                     | 
                                        }  | 
                                
                                                            
                                    | 258 | 
                                     | 
                                     | 
                                
                                                            
                                    | 259 | 
                                     | 
                                        /**  | 
                                
                                                            
                                    | 260 | 
                                     | 
                                         * Get the associative array of the virtual columns in this object  | 
                                
                                                                        
                 
                                                            
                    
src/cli/Database/Base/Subscription.php 1 location
                
                
                    
                                                
                                                    
                                 | 
                                
                                    @@ 259-274 (lines=16) @@
                                 | 
                            
                                                            
                                    | 256 | 
                                     | 
                                         * @param  mixed   $obj The object to compare to.  | 
                                
                                                            
                                    | 257 | 
                                     | 
                                         * @return boolean Whether equal to the object specified.  | 
                                
                                                            
                                    | 258 | 
                                     | 
                                         */  | 
                                
                                                            
                                    | 259 | 
                                     | 
                                        public function equals($obj)  | 
                                
                                                            
                                    | 260 | 
                                     | 
                                        { | 
                                
                                                            
                                    | 261 | 
                                     | 
                                            if (!$obj instanceof static) { | 
                                
                                                            
                                    | 262 | 
                                     | 
                                                return false;  | 
                                
                                                            
                                    | 263 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 264 | 
                                     | 
                                     | 
                                
                                                            
                                    | 265 | 
                                     | 
                                            if ($this === $obj) { | 
                                
                                                            
                                    | 266 | 
                                     | 
                                                return true;  | 
                                
                                                            
                                    | 267 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 268 | 
                                     | 
                                     | 
                                
                                                            
                                    | 269 | 
                                     | 
                                            if (null === $this->getPrimaryKey() || null === $obj->getPrimaryKey()) { | 
                                
                                                            
                                    | 270 | 
                                     | 
                                                return false;  | 
                                
                                                            
                                    | 271 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 272 | 
                                     | 
                                     | 
                                
                                                            
                                    | 273 | 
                                     | 
                                            return $this->getPrimaryKey() === $obj->getPrimaryKey();  | 
                                
                                                            
                                    | 274 | 
                                     | 
                                        }  | 
                                
                                                            
                                    | 275 | 
                                     | 
                                     | 
                                
                                                            
                                    | 276 | 
                                     | 
                                        /**  | 
                                
                                                            
                                    | 277 | 
                                     | 
                                         * Get the associative array of the virtual columns in this object  | 
                                
                                                                        
                 
                                                            
                    
src/cli/Database/Base/User.php 1 location
                
                
                    
                                                
                                                    
                                 | 
                                
                                    @@ 233-248 (lines=16) @@
                                 | 
                            
                                                            
                                    | 230 | 
                                     | 
                                         * @param  mixed   $obj The object to compare to.  | 
                                
                                                            
                                    | 231 | 
                                     | 
                                         * @return boolean Whether equal to the object specified.  | 
                                
                                                            
                                    | 232 | 
                                     | 
                                         */  | 
                                
                                                            
                                    | 233 | 
                                     | 
                                        public function equals($obj)  | 
                                
                                                            
                                    | 234 | 
                                     | 
                                        { | 
                                
                                                            
                                    | 235 | 
                                     | 
                                            if (!$obj instanceof static) { | 
                                
                                                            
                                    | 236 | 
                                     | 
                                                return false;  | 
                                
                                                            
                                    | 237 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 238 | 
                                     | 
                                     | 
                                
                                                            
                                    | 239 | 
                                     | 
                                            if ($this === $obj) { | 
                                
                                                            
                                    | 240 | 
                                     | 
                                                return true;  | 
                                
                                                            
                                    | 241 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 242 | 
                                     | 
                                     | 
                                
                                                            
                                    | 243 | 
                                     | 
                                            if (null === $this->getPrimaryKey() || null === $obj->getPrimaryKey()) { | 
                                
                                                            
                                    | 244 | 
                                     | 
                                                return false;  | 
                                
                                                            
                                    | 245 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 246 | 
                                     | 
                                     | 
                                
                                                            
                                    | 247 | 
                                     | 
                                            return $this->getPrimaryKey() === $obj->getPrimaryKey();  | 
                                
                                                            
                                    | 248 | 
                                     | 
                                        }  | 
                                
                                                            
                                    | 249 | 
                                     | 
                                     | 
                                
                                                            
                                    | 250 | 
                                     | 
                                        /**  | 
                                
                                                            
                                    | 251 | 
                                     | 
                                         * Get the associative array of the virtual columns in this object  |