Function DebugFsStreamWrapper->unlink

Definitions

sources/debug_fs.php

  • Deletes a file.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$path PATH No No required parameter N/A N/A The file path

Returns

  • Success status
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Deletes a file.
 *
 * @param  PATH $path The file path
 * @return boolean Success status
 */

public function unlink(string $path) : bool