PHP Class Barryvdh\Debugbar\JavascriptRenderer

Inheritance: extends DebugBar\JavascriptRenderer
Show file Open project: barryvdh/laravel-debugbar

Protected Properties

Property Type Description
$ajaxHandlerBindToJquery Use XHR handler by default, instead of jQuery
$ajaxHandlerBindToXHR

Public Methods

Method Description
__construct ( DebugBar\DebugBar $debugBar, $baseUrl = null, $basePath = null )
dumpAssetsToString ( string $type ) : string Return assets as a string
renderHead ( )
setUrlGenerator ( UrlGenerator $url ) Set the URL Generator

Protected Methods

Method Description
getModifiedTime ( string $type ) : integer Get the last modified time of any assets.
makeUriRelativeTo ( string | array $uri, string $root ) : string Makes a URI relative to another

Method Details

__construct() public method

public __construct ( DebugBar\DebugBar $debugBar, $baseUrl = null, $basePath = null )
$debugBar DebugBar\DebugBar

dumpAssetsToString() public method

Return assets as a string
public dumpAssetsToString ( string $type ) : string
$type string 'js' or 'css'
return string

getModifiedTime() protected method

Get the last modified time of any assets.
protected getModifiedTime ( string $type ) : integer
$type string 'js' or 'css'
return integer

makeUriRelativeTo() protected method

Makes a URI relative to another
protected makeUriRelativeTo ( string | array $uri, string $root ) : string
$uri string | array
$root string
return string

renderHead() public method

public renderHead ( )

setUrlGenerator() public method

Set the URL Generator
Deprecation:
public setUrlGenerator ( UrlGenerator $url )
$url Illuminate\Routing\UrlGenerator

Property Details

$ajaxHandlerBindToJquery protected property

Use XHR handler by default, instead of jQuery
protected $ajaxHandlerBindToJquery

$ajaxHandlerBindToXHR protected property

protected $ajaxHandlerBindToXHR