PHP Class Spatie\BladeJavaScript\Transformers\ObjectTransformer

Inheritance: implements Spatie\BladeJavaScript\Transformers\Transformer
显示文件 Open project: spatie/laravel-blade-javascript

Public Methods

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

Method Details

canTransform() public method

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

transform() public method

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