__construct() публичный Метод

Create a new FileByteStream for $path.
public __construct ( string $path, boolean $writable = false )
$path string
$writable boolean if true
 public function __construct()
 {
     $filePath = tempnam(sys_get_temp_dir(), 'FileByteStream');
     if ($filePath === false) {
         throw new Swift_IoException('Failed to retrieve temporary file name.');
     }
     parent::__construct($filePath, true);
 }