Jyxo\Spl\ObjectCache::getInstance PHP 메소드

getInstance() 공개 정적인 메소드

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