PHP Class Webiny\Component\Entity\Attribute\FloatAttribute

Inheritance: extends AbstractAttribute
Datei anzeigen Open project: Webiny/Framework

Public Methods

Method Description
getDbValue ( )
toArray ( array $params = [] ) : string Get value that will be used to represent this attribute when converting AbstractEntity to array

Protected Methods

Method Description
validate ( &$value ) Perform validation against given value

Method Details

getDbValue() public method

public getDbValue ( )

toArray() public method

Get value that will be used to represent this attribute when converting AbstractEntity to array
public toArray ( array $params = [] ) : string
$params array
return string

validate() protected method

Perform validation against given value
protected validate ( &$value )
$value