Property | Type | Description | |
---|---|---|---|
$context | resource |
Property | Type | Description | |
---|---|---|---|
$registeredStreamWrappers | array | ||
$streamWrapper | Neos\Flow\ResourceManagement\Streams\StreamWrapperInterface |
Method | Description | |
---|---|---|
dir_closedir ( ) : boolean | Close directory handle. | |
dir_opendir ( string $path, integer $options ) : boolean | Open directory handle. | |
dir_readdir ( ) : string | Read entry from directory handle. | |
dir_rewinddir ( ) : boolean | Rewind directory handle. | |
getRegisteredStreamWrappers ( ) : array | Returns the stream wrappers registered with this class. | |
getStreamWrapperImplementationClassNames ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : array | Returns all class names implementing the StreamWrapperInterface. | |
initializeStreamWrapper ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : void | Initialize StreamWrappers with this adapter | |
mkdir ( string $path, integer $mode, integer $options ) : boolean | Create a directory. | |
registerStreamWrapper ( string $scheme, string $objectName ) : void | Register a stream wrapper. Later registrations for a scheme will override earlier ones without warning. | |
rename ( string $path_from, string $path_to ) : boolean | Renames a file or directory. | |
rmdir ( string $path, integer $options ) : boolean | Removes a directory. | |
stream_cast ( integer $cast_as ) : resource | Retrieve the underlaying resource. | |
stream_close ( ) : void | Close an resource. | |
stream_eof ( ) : boolean | Tests for end-of-file on a file pointer. | |
stream_flush ( ) : boolean | Flushes the output. | |
stream_lock ( integer $operation ) : boolean | Advisory file locking. | |
stream_open ( string $path, string $mode, integer $options, &$opened_path ) : boolean | Opens file or URL. | |
stream_read ( integer $count ) : string | Read from stream. | |
stream_seek ( integer $offset, integer $whence = SEEK_SET ) : boolean | Seeks to specific location in a stream. | |
stream_set_option ( integer $option, integer $arg1, integer $arg2 ) : boolean | Change stream options. | |
stream_stat ( ) : array | Retrieve information about a file resource. | |
stream_tell ( ) : integer | Retrieve the current position of a stream. | |
stream_write ( string $data ) : integer | Write to stream. | |
unlink ( string $path ) : boolean | Delete a file. | |
url_stat ( string $path, integer $flags ) : array | Retrieve information about a file. |
Method | Description | |
---|---|---|
createStreamWrapper ( string $path ) : void | Create the internal stream wrapper if needed. |
protected createStreamWrapper ( string $path ) : void | ||
$path | string | The path to fetch the scheme from. |
return | void |
public dir_closedir ( ) : boolean | ||
return | boolean | TRUE on success or FALSE on failure. |
public dir_readdir ( ) : string | ||
return | string | Should return string representing the next filename, or FALSE if there is no next file. |
public dir_rewinddir ( ) : boolean | ||
return | boolean | TRUE on success or FALSE on failure. |
public static getRegisteredStreamWrappers ( ) : array | ||
return | array |
public static getStreamWrapperImplementationClassNames ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : array | ||
$objectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface | |
return | array | Array of stream wrapper implementations |
public static initializeStreamWrapper ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : void | ||
$objectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface | |
return | void |
public stream_cast ( integer $cast_as ) : resource | ||
$cast_as | 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 stream_close ( ) : void | ||
return | void |
public stream_eof ( ) : boolean | ||
return | boolean | Should return TRUE if the read/write position is at the end of the stream and if no more data is available to be read, or FALSE otherwise. |
public stream_flush ( ) : boolean | ||
return | boolean | Should return TRUE if the cached data was successfully stored (or if there was no data to store), or FALSE if the data could not be stored. |
public stream_lock ( integer $operation ) : boolean | ||
$operation | integer | One of the LOCK_* constants |
return | boolean | TRUE on success or FALSE on failure. |
public stream_open ( string $path, string $mode, integer $options, &$opened_path ) : 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 stream_read ( integer $count ) : string | ||
$count | integer | How many bytes of data from the current position should be returned. |
return | string | If there are less than count bytes available, return as many as are available. If no more data is available, return either FALSE or an empty string. |
public stream_stat ( ) : array | ||
return | array | See http://php.net/stat |
public stream_tell ( ) : integer | ||
return | integer | Should return the current position of the stream. |
public stream_write ( string $data ) : integer | ||
$data | string | Should be stored into the underlying stream. |
return | integer | Should return the number of bytes that were successfully stored, or 0 if none could be stored. |
public url_stat ( 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). |
protected static array $registeredStreamWrappers | ||
return | array |