PHP streamWrapper __construct() Method
The PHP streamWrapper::__construct() method constructs a new stream wrapper. This method is called when opening the stream wrapper, right before the streamWrapper::stream_open() method.
Syntax
public streamWrapper::__construct()
Parameters
No parameter is required.
❮ PHP Streams Reference