UserFrosting API

ResourceStream implements ResourceStreamInterface

ResourceStream Class.

The representation of a stream

Tags
author

Louis Charette

Table of Contents

$scheme string
$path string
$prefix string
$shared bool
$separator string
__construct() Constructor. mixed
getScheme() string
setScheme() static
getPath() string
setPath() static
getPrefix() string
setPrefix() static
isShared() bool
setShared() static

Properties

Methods

__construct()

Constructor.

public __construct( $scheme : string [, $prefix : string = '' ] [, $path : string = null ] [, $shared : bool = false ] ) : mixed
Parameters
$scheme : string
$prefix : string = ''
$path : string = null
$shared : bool = false
Return values
mixed

setScheme()

public setScheme( $scheme : string ) : static
Parameters
$scheme : string
Return values
static

setPath()

public setPath( $path : string ) : static
Parameters
$path : string

(default null)

Return values
static

setPrefix()

public setPrefix( $prefix : string ) : static
Parameters
$prefix : string
Return values
static

setShared()

public setShared( $shared : bool ) : static
Parameters
$shared : bool
Return values
static

Search results