@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | * @subpackage Yikes_Inc_Easy_Mailchimp_Extender/includes |
| 26 | 26 | * @author YIKES Inc. <[email protected]> |
| 27 | 27 | */ |
| 28 | -class Yikes_Inc_Easy_Mailchimp_Extender {
|
|
| 28 | +class Yikes_Inc_Easy_Mailchimp_Extender { |
|
| 29 | 29 | /** |
| 30 | 30 | * The loader that's responsible for maintaining and registering all hooks that power |
| 31 | 31 | * the plugin. |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | * |
| 71 | 71 | * @param Yikes_Inc_Easy_Mailchimp_Extender_Form_Interface $form_interface |
| 72 | 72 | */ |
| 73 | - public function __construct( Yikes_Inc_Easy_Mailchimp_Extender_Form_Interface $form_interface ) {
|
|
| 73 | + public function __construct( Yikes_Inc_Easy_Mailchimp_Extender_Form_Interface $form_interface ) { |
|
| 74 | 74 | $this->version = YIKES_MC_VERSION; |
| 75 | 75 | $this->form_interface = $form_interface; |
| 76 | 76 | $this->load_dependencies(); |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | * @since 1.0.0 |
| 94 | 94 | * @access private |
| 95 | 95 | */ |
| 96 | - private function load_dependencies() {
|
|
| 96 | + private function load_dependencies() { |
|
| 97 | 97 | /** |
| 98 | 98 | * The class responsible for orchestrating the actions and filters of the |
| 99 | 99 | * core plugin. |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | * @since 1.0.0 |
| 122 | 122 | * @access private |
| 123 | 123 | */ |
| 124 | - private function define_admin_hooks() {
|
|
| 124 | + private function define_admin_hooks() { |
|
| 125 | 125 | $plugin_admin = new Yikes_Inc_Easy_Mailchimp_Forms_Admin( $this->get_yikes_inc_easy_mailchimp_extender(), $this->get_version(), $this->form_interface ); |
| 126 | 126 | $plugin_admin->hooks(); |
| 127 | 127 | $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'maybe_enqueue_assets' ); |
@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | * @since 1.0.0 |
| 134 | 134 | * @access private |
| 135 | 135 | */ |
| 136 | - private function define_public_hooks() {
|
|
| 136 | + private function define_public_hooks() { |
|
| 137 | 137 | $plugin_public = new Yikes_Inc_Easy_Mailchimp_Extender_Public( $this->get_yikes_inc_easy_mailchimp_extender(), $this->get_version() ); |
| 138 | 138 | } |
| 139 | 139 | /** |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | * |
| 142 | 142 | * @since 1.0.0 |
| 143 | 143 | */ |
| 144 | - public function run() {
|
|
| 144 | + public function run() { |
|
| 145 | 145 | $this->loader->run(); |
| 146 | 146 | } |
| 147 | 147 | /** |
@@ -151,7 +151,7 @@ discard block |
||
| 151 | 151 | * @since 1.0.0 |
| 152 | 152 | * @return string The name of the plugin. |
| 153 | 153 | */ |
| 154 | - public function get_yikes_inc_easy_mailchimp_extender() {
|
|
| 154 | + public function get_yikes_inc_easy_mailchimp_extender() { |
|
| 155 | 155 | return $this->yikes_inc_easy_mailchimp_extender; |
| 156 | 156 | } |
| 157 | 157 | /** |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | * @since 1.0.0 |
| 161 | 161 | * @return Yikes_Inc_Easy_Mailchimp_Extender_Loader Orchestrates the hooks of the plugin. |
| 162 | 162 | */ |
| 163 | - public function get_loader() {
|
|
| 163 | + public function get_loader() { |
|
| 164 | 164 | return $this->loader; |
| 165 | 165 | } |
| 166 | 166 | /** |
@@ -169,7 +169,7 @@ discard block |
||
| 169 | 169 | * @since 1.0.0 |
| 170 | 170 | * @return string The version number of the plugin. |
| 171 | 171 | */ |
| 172 | - public function get_version() {
|
|
| 172 | + public function get_version() { |
|
| 173 | 173 | return $this->version; |
| 174 | 174 | } |
| 175 | 175 | } |