PHP Class Webiny\Component\Entity\Attribute\BooleanAttribute

Inheritance: extends Webiny\Component\Entity\Attribute\AttributeAbstract
Show file Open project: Webiny/Framework

Public Methods

Method Description
toArray ( $params = [] )

Protected Methods

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

Method Details

toArray() public method

public toArray ( $params = [] )

validate() protected method

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