function Manager::instance

Return value

self

2 calls to Manager::instance()
PharStreamWrapper::collectInvocation in misc/typo3/phar-stream-wrapper/src/PharStreamWrapper.php
PharStreamWrapper::resolveAssertable in misc/typo3/phar-stream-wrapper/src/PharStreamWrapper.php

File

misc/typo3/phar-stream-wrapper/src/Manager.php, line 64

Class

Manager

Namespace

TYPO3\PharStreamWrapper

Code

public static function instance() {
    if (self::$instance !== null) {
        return self::$instance;
    }
    throw new \LogicException('Manager needs to be initialized first', 1535189872);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.