src/Router.php
public static function setSingletonName($method)
    {
        if (! is_string($method) || empty($method)) {
            return false;
        }

        self::$singleton = $method;

        return true;
    }
public static function setSingletonName($method)
    {
        if (! is_string($method) || empty($method)) {
            return false;
        }

        self::$singleton = $method;

        return true;
    }
public static function setSingletonName ( $ method ) { if ( ! is_string ( $ method ) || empty ( $ method ) ) { return false ; } self :: $ singleton = $ method ; return true ; }
Set method name for use singleton pattern.

@param string $method → singleton method name

@return bool
Set method name for use singleton pattern .