PHP Class Spatie\BladeJavaScript\Transformers\NumericTransformer

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

Public Methods

Method Description
canTransform ( mixed $value ) : boolean
transform ( float | integer $value ) : float | integer

Method Details

canTransform() public method

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

transform() public method

public transform ( float | integer $value ) : float | integer
$value float | integer
return float | integer