102. Araxis Merge File Comparison Report

Produced by Araxis Merge on 2023-07-12 04:42:39 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

102.1 Files compared

#LocationFileLast Modified
1Porto v4.0.5/Theme Files/Porto Theme/app/code/Smartwave/Dailydeals/ModelDailydeal.php2018-03-14 03:58:46 +0000
2Porto v4.0.6/Theme Files/Porto Theme/app/code/Smartwave/Dailydeals/ModelDailydeal.php2018-03-14 03:58:46 +0000

102.2 Comparison summary

DescriptionBetween
Files 1 and 2
Text BlocksLines
Unchanged1118
Changed00
Inserted00
Removed00

102.3 Comparison options

WhitespaceConsecutive whitespace is treated as a single space
Character caseDifferences in character case are significant
Line endingsDifferences in line endings (CR and LF characters) are ignored
CR/LF charactersNot shown in the comparison detail
Active line-pairing rules

102.4 Active regular expressions

No regular expressions were active.

102.5 Comparison detail

1 <?php 1 <?php
2 namespace Smartwave\Dailydeals\Model; 2 namespace Smartwave\Dailydeals\Model;
3  3 
4 class Dailydeal extends \Magento\Framework\Model\AbstractModel 4 class Dailydeal extends \Magento\Framework\Model\AbstractModel
5 { 5 {
6     /** 6     /**
7      * Cache tag 7      * Cache tag
8      * 8      *
9      * @var string 9      * @var string
10      */ 10      */
11     const CACHE_TAG = 'sw_dailydeals_dailydeal'; 11     const CACHE_TAG = 'sw_dailydeals_dailydeal';
12  12 
13     /** 13     /**
14      * Cache tag 14      * Cache tag
15      * 15      *
16      * @var string 16      * @var string
17      */ 17      */
18     protected $_cacheTag = 'sw_dailydeals_dailydeal'; 18     protected $_cacheTag = 'sw_dailydeals_dailydeal';
19  19 
20     /** 20     /**
21      * Event prefix 21      * Event prefix
22      * 22      *
23      * @var string 23      * @var string
24      */ 24      */
25     protected $_eventPrefix = 'sw_dailydeals_dailydeal'; 25     protected $_eventPrefix = 'sw_dailydeals_dailydeal';
26  26 
27  27 
28     /** 28     /**
29      * Initialize resource model 29      * Initialize resource model
30      * 30      *
31      * @return void 31      * @return void
32      */ 32      */
33     protected function _construct() 33     protected function _construct()
34     { 34     {
35         $this->_init('Smartwave\Dailydeals\Model\ResourceModel\Dailydeal'); 35         $this->_init('Smartwave\Dailydeals\Model\ResourceModel\Dailydeal');
36     } 36     }
37  37 
38     /** 38     /**
39      * Get identities 39      * Get identities
40      * 40      *
41      * @return array 41      * @return array
42      */ 42      */
43     public function getIdentities() 43     public function getIdentities()
44     { 44     {
45         return [self::CACHE_TAG . '_' . $this->getId()]; 45         return [self::CACHE_TAG . '_' . $this->getId()];
46     } 46     }
47  47 
48     /** 48     /**
49      * get entity default values 49      * get entity default values
50      * 50      *
51      * @return array 51      * @return array
52      */ 52      */
53     public function getDefaultValues() 53     public function getDefaultValues()
54     { 54     {
55         $values = []; 55         $values = [];
56  56 
57         return $values; 57         return $values;
58     } 58     }
59 } 59 }