Alex\BehatLauncher\Behat\OutputFile::delete PHP Method

delete() public method

Deletes the file.
public delete ( ) : OutputFile
return OutputFile
    public function delete()
    {
        if ($this->path !== null && file_exists($this->path)) {
            unlink($this->path);
        }
        return $this;
    }