Property | Type | Description | |
---|---|---|---|
$context | resource |
Property | Type | Description | |
---|---|---|---|
$handle | resource | ||
$packageManager | Neos\Flow\Package\PackageManagerInterface | ||
$resourceManager | |||
$uri |
Method | Description | |
---|---|---|
cast ( integer $castType ) : resource | Retrieve the underlying resource. | |
close ( ) : void | Close an resource. | |
closeDirectory ( ) : boolean | Close directory handle. | |
flush ( ) : boolean | Flushes the output. | |
getScheme ( ) : string | Returns the scheme ("protocol") this wrapper handles. | |
isAtEof ( ) : boolean | Tests for end-of-file on a file pointer. | |
lock ( integer $operation ) : boolean | Advisory file locking. | |
makeDirectory ( string $path, integer $mode, integer $options ) : void | Create a directory. | |
open ( string $path, string $mode, integer $options, &$openedPathAndFilename ) : boolean | Opens file or URL. | |
openDirectory ( string $path, integer $options ) : boolean | Open directory handle. | |
pathStat ( string $path, integer $flags ) : array | Retrieve information about a file. | |
read ( integer $count ) : string | Read from stream. | |
readDirectory ( ) : string | Read entry from directory handle. | |
removeDirectory ( string $path, integer $options ) : void | Removes a directory. | |
rename ( string $source, string $target ) : boolean | Renames a file or directory. | |
resourceStat ( ) : array | Retrieve information about a file resource. | |
rewindDirectory ( ) : boolean | Rewind directory handle. | |
seek ( integer $offset, integer $whence = SEEK_SET ) : boolean | Seeks to specific location in a stream. | |
setOption ( integer $option, integer $argument1, integer $argument2 ) : boolean | Change stream options. | |
tell ( ) : integer | Retrieve the current position of a stream. | |
unlink ( string $path ) : boolean | Delete a file. | |
unlock ( ) : boolean | Advisory file locking. | |
write ( string $data ) : integer | Write to stream. |
Method | Description | |
---|---|---|
evaluateResourcePath ( string $requestedPath, boolean $checkForExistence = true ) : mixed | Evaluates the absolute path and filename of the resource file specified by the given path. |
public cast ( integer $castType ) : resource | ||
$castType | integer | Can be STREAM_CAST_FOR_SELECT when stream_select() is calling stream_cast() or STREAM_CAST_AS_STREAM when stream_cast() is called for other uses. |
return | resource | Should return the underlying stream resource used by the wrapper, or FALSE. |
public closeDirectory ( ) : boolean | ||
return | boolean | Always TRUE |
protected evaluateResourcePath ( string $requestedPath, boolean $checkForExistence = true ) : mixed | ||
$requestedPath | string | |
$checkForExistence | boolean | Whether a (non-hash) path should be checked for existence before being returned |
return | mixed | The full path and filename or FALSE if the file doesn't exist |
public open ( string $path, string $mode, integer $options, &$openedPathAndFilename ) : boolean | ||
$path | string | Specifies the URL that was passed to the original function. |
$mode | string | The mode used to open the file, as detailed for fopen(). |
$options | integer | Holds additional flags set by the streams API. |
return | boolean | TRUE on success or FALSE on failure. |
public pathStat ( string $path, integer $flags ) : array | ||
$path | string | The file path or URL to stat. Note that in the case of a URL, it must be a :// delimited URL. Other URL forms are not supported. |
$flags | integer | Holds additional flags set by the streams API. |
return | array | Should return as many elements as stat() does. Unknown or unavailable values should be set to a rational value (usually 0). |
public readDirectory ( ) : string | ||
return | string | Should return string representing the next filename, or FALSE if there is no next file. |
public resourceStat ( ) : array | ||
return | array | See http://php.net/stat |
public rewindDirectory ( ) : boolean | ||
return | boolean | always TRUE |
protected PackageManagerInterface,Neos\Flow\Package $packageManager | ||
return | Neos\Flow\Package\PackageManagerInterface |
protected ResourceManager,Neos\Flow\ResourceManagement $resourceManager | ||
return |