Example #1
0
 /**
  * This constructor initializes the class with the specified URI.
  *
  * @access public
  * @param string $prefix                                    the prefix of the generated temporary file
  * @throws Throwable\InvalidArgument\Exception              indicates a data type mismatch
  */
 public function __construct($prefix = '')
 {
     parent::__construct(tempnam(static::directory(), $prefix));
     $this->temporary = true;
 }