ResourceStream implements ResourceStreamInterface
ResourceStream Class.
The representation of a stream
Tags
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
$scheme
protected
string
$scheme
$path
protected
string
$path
$prefix
protected
string
$prefix
$shared
protected
bool
$shared
$separator
protected
string
$separator
= '/'
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
mixedgetScheme()
public
getScheme(
)
: string
Return values
stringsetScheme()
public
setScheme(
$scheme :
string
)
: static
Parameters
- $scheme : string
Return values
staticgetPath()
public
getPath(
)
: string
Return values
stringsetPath()
public
setPath(
$path :
string
)
: static
Parameters
- $path : string
(default null)
Return values
staticgetPrefix()
public
getPrefix(
)
: string
Return values
stringsetPrefix()
public
setPrefix(
$prefix :
string
)
: static
Parameters
- $prefix : string
Return values
staticisShared()
public
isShared(
)
: bool
Return values
boolsetShared()
public
setShared(
$shared :
bool
)
: static
Parameters
- $shared : bool