src/Cuztom.php
public static function run()
    {
        if (! isset(self::$instance)) {
            self::$instance = new self();

            self::$instance->setup();
            self::$instance->execute();
            self::$instance->hooks();
            self::$instance->ajax();
        }

        return self::$instance;
    }
public static function run()
    {
        if (! isset(self::$instance)) {
            self::$instance = new self();

            self::$instance->setup();
            self::$instance->execute();
            self::$instance->hooks();
            self::$instance->ajax();
        }

        return self::$instance;
    }
public static function run ( ) { if ( ! isset ( self :: $ instance ) ) { self :: $ instance = new self ( ) ; self :: $ instance -> setup ( ) ; self :: $ instance -> execute ( ) ; self :: $ instance -> hooks ( ) ; self :: $ instance -> ajax ( ) ; } return self :: $ instance ; }
Public function to set the instance.

@return object
Public function to set the instance .