Skip to content

Commit

Permalink
Add method writeUninitialized().
Browse files Browse the repository at this point in the history
  • Loading branch information
prwater committed Nov 22, 2020
1 parent c45bc1c commit 082a589
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/VarWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,16 @@ public function writeResource(?int $id, ?int $ref, $name, string $type): void;
*/
public function writeString(?int $id, ?int $ref, string &$value, $name): void;

//--------------------------------------------------------------------------------------------------------------------
/**
* Dumps an uninitialized property.
*
* @param string|int|null $name The name of the property.
*
* @return void
*/
public function writeUninitialized($name): void;

//--------------------------------------------------------------------------------------------------------------------
}

Expand Down

0 comments on commit 082a589

Please sign in to comment.