Jyxo\Spl\ObjectCache::getInstance PHP Méthode

getInstance() public static méthode

Returns default storage for static access.
public static getInstance ( ) : self
Résultat self
    public static function getInstance() : self
    {
        static $instance = null;
        if (null === $instance) {
            $instance = new self();
        }
        return $instance;
    }