/**
  * Return the instance of the framework class.
  *
  * @static
  * @since 0.1.0
  * @return Ev_Framework
  */
 public static function instance()
 {
     if (self::$_instance === null) {
         self::$_instance = new Ev_Framework();
     }
     return self::$_instance;
 }
Example #2
0
/**
 * Load the framework instance.
 *
 * @since 0.1.0
 * @return Ev_Framework
 */
function ev_fw()
{
    return Ev_Framework::instance();
}