protected function S3fsStreamWrapper::_assert_constructor_called in S3 File System 7.2
Same name and namespace in other branches
- 7 S3fsStreamWrapper.inc \S3fsStreamWrapper::_assert_constructor_called()
Call the constructor it it hasn't been called yet.
Due to PHP bug #40459, the constructor of this class isn't always called for some of the methods.
See also
https://bugs.php.net/bug.php?id=40459
7 calls to S3fsStreamWrapper::_assert_constructor_called()
- S3fsStreamWrapper::chmod in ./
S3fsStreamWrapper.inc - This wrapper doesn't support file permissions.
- S3fsStreamWrapper::dir_opendir in ./
S3fsStreamWrapper.inc - Support for opendir().
- S3fsStreamWrapper::mkdir in ./
S3fsStreamWrapper.inc - Support for mkdir().
- S3fsStreamWrapper::rename in ./
S3fsStreamWrapper.inc - Support for rename().
- S3fsStreamWrapper::rmdir in ./
S3fsStreamWrapper.inc - Support for rmdir().
File
- ./
S3fsStreamWrapper.inc, line 1555 - Drupal stream wrapper implementation for S3 File System.
Class
- S3fsStreamWrapper
- The stream wrapper class.
Code
protected function _assert_constructor_called() {
if (!$this->constructed) {
$this
->__construct();
}
}