Skip to content
Snippets Groups Projects
Select Git revision
  • 7776ea61d531ee8d127abfd9d8f6e4b76e3f56e6
  • main default protected
  • v0.10
  • 0.10.6
  • 0.10.5
  • 0.10.4
  • 0.10.3
  • 0.10.2
  • 0.10.1
  • 0.10.0
  • 0.9.1
  • 0.9.0
12 results

CallableBinder.php

Blame
  • SlimPlugin.php 523 B
    <?php
    
    namespace WPDesk\PluginBuilder\Plugin;
    
    /**
     * Most clean plugin class with only most important details.
     */
    abstract class SlimPlugin implements \WPDesk_Translatable {
    
    	/**
    	 * Initializes plugin external state.
    	 *
    	 * The plugin internal state is initialized in the constructor and the plugin should be internally consistent after creation.
    	 * The external state includes hooks execution, communication with other plugins, integration with WC etc.
    	 *
    	 * @return void
    	 */
    	abstract public function init();
    }