Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
LiveReload Class Reference

Class for livereload in dev mode. More...

Static Public Member Functions

static start (int $port=35729)
 Add livereload webSocket.
 
static hasLiveReload ()
 Check if Livereload js intallation.
 

Static Private Member Functions

static getNonce ($name='jsUtils')
 

Detailed Description

Class for livereload in dev mode.

Ubiquity\debug$LiveReload This class is part of Ubiquity

Author
jc
Version
1.0.0

Definition at line 16 of file LiveReload.php.

Member Function Documentation

◆ getNonce()

static getNonce (   $name = 'jsUtils')
staticprivate

Definition at line 40 of file LiveReload.php.

◆ hasLiveReload()

static hasLiveReload ( )
static

Check if Livereload js intallation.

Returns
bool

Definition at line 34 of file LiveReload.php.

◆ start()

static start ( int  $port = 35729)
static

Add livereload webSocket.

Parameters
int$port
Returns
string

Definition at line 22 of file LiveReload.php.


The documentation for this class was generated from the following file: