public function __construct($fd, $path) { $this->fd = $fd; $this->path = $path; $this->onWriteOnce = new StackCallbacks(); }