PHP Class Webiny\Component\Entity\Attribute\BooleanAttribute

Inheritance: extends Webiny\Component\Entity\Attribute\AttributeAbstract
显示文件 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