| Total Complexity | 2 | 
| Total Lines | 46 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 14 | abstract class BaseAddon { | 
            ||
| 15 | /**  | 
            ||
| 16 | * Details of the Add-on.  | 
            ||
| 17 | *  | 
            ||
| 18 | * @var \BulkWP\BulkDelete\Core\Addon\AddonInfo  | 
            ||
| 19 | */  | 
            ||
| 20 | protected $addon_info;  | 
            ||
| 21 | |||
| 22 | /**  | 
            ||
| 23 | * Handler for license.  | 
            ||
| 24 | *  | 
            ||
| 25 | * @var \BD_License_Handler  | 
            ||
| 26 | */  | 
            ||
| 27 | protected $license_handler;  | 
            ||
| 28 | |||
| 29 | /**  | 
            ||
| 30 | * Initialize and setup variables.  | 
            ||
| 31 | *  | 
            ||
| 32 | * @return void  | 
            ||
| 33 | */  | 
            ||
| 34 | abstract protected function initialize();  | 
            ||
| 35 | |||
| 36 | /**  | 
            ||
| 37 | * Create a new instance of the add-on.  | 
            ||
| 38 | *  | 
            ||
| 39 | * @param \BulkWP\BulkDelete\Core\Addon\AddonInfo $addon_info Add-on Details.  | 
            ||
| 40 | */  | 
            ||
| 41 | 	public function __construct( $addon_info ) { | 
            ||
| 46 | }  | 
            ||
| 47 | |||
| 48 | /**  | 
            ||
| 49 | * Setup License Handler.  | 
            ||
| 50 | *  | 
            ||
| 51 | * TODO: Need this to be refactored.  | 
            ||
| 52 | */  | 
            ||
| 53 | 	protected function setup_license_handler() { | 
            ||
| 63 |