register() public static method

Registers a protocol.
public static register ( string $protocol ) : boolean
$protocol string Protocol name
return boolean
Ejemplo n.º 1
0
 /**
  * Prepares the testing environment..
  */
 protected function setUp()
 {
     require_once DIR_FILES . '/beholder/TestFileSystemStream.php';
     \TestFileSystemStream::register($this->protocol);
 }