PHP Class Spatie\BladeJavaScript\Transformers\StringTransformer

Inheritance: implements Spatie\BladeJavaScript\Transformers\Transformer
Mostrar archivo Open project: spatie/laravel-blade-javascript

Public Methods

Method Description
canTransform ( mixed $value ) : boolean
transform ( string $value ) : string

Protected Methods

Method Description
escape ( string $value ) : string

Method Details

canTransform() public method

public canTransform ( mixed $value ) : boolean
$value mixed
return boolean

escape() protected method

protected escape ( string $value ) : string
$value string
return string

transform() public method

public transform ( string $value ) : string
$value string
return string