Function Minifier->lock

Definitions

sources/jsmin.php

  • Replace patterns in the given string and store the replacement
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$js string No No required parameter N/A N/A The string to lock

Returns

  • Type: bool
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Replace patterns in the given string and store the replacement
 *
 * @param  string $js The string to lock
 * @return bool
 */

protected function lock($js)