Back to WebAssetManager class

Method lock

public self
lock
()
Lock the manager to prevent further modifications
Returns
  • self
Since
  • 4.0.0

Method lock - Source code

/**
 * Lock the manager to prevent further modifications
 *
 * @return self
 *
 * @since  4.0.0
 */
public function lock() : self
{
    $this->locked = true;
    return $this;
}