| 1 |
<?php |
| 2 |
|
| 3 |
namespace forge12\contactform7\CF7DoubleOptIn; |
| 4 |
|
| 5 |
if ( ! defined( 'ABSPATH' ) ) { |
| 6 |
exit; |
| 7 |
} |
| 8 |
|
| 9 |
abstract class BaseController { |
| 10 |
/** |
| 11 |
* @var CF7DoubleOptIn $Controller |
| 12 |
*/ |
| 13 |
protected $Controller; |
| 14 |
|
| 15 |
public function __construct( $Controller ) { |
| 16 |
$this->Controller = $Controller; |
| 17 |
|
| 18 |
$this->on_init(); |
| 19 |
} |
| 20 |
|
| 21 |
public abstract function on_init(); |
| 22 |
} |