PHP Class Barryvdh\Debugbar\JavascriptRenderer

Inheritance: extends DebugBar\JavascriptRenderer
Afficher le fichier Open project: barryvdh/laravel-debugbar

Protected Properties

Свойство Type Description
$ajaxHandlerBindToJquery Use XHR handler by default, instead of jQuery
$ajaxHandlerBindToXHR

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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 méthode

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

dumpAssetsToString() public méthode

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

getModifiedTime() protected méthode

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

makeUriRelativeTo() protected méthode

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

renderHead() public méthode

public renderHead ( )

setUrlGenerator() public méthode

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

Property Details

$ajaxHandlerBindToJquery protected_oe property

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

$ajaxHandlerBindToXHR protected_oe property

protected $ajaxHandlerBindToXHR