Webiny\Component\Entity\EntityAttributeBuilder::float PHP Method

float() public method

public float ( ) : FloatAttribute
return Webiny\Component\Entity\Attribute\FloatAttribute
    public function float()
    {
        return $this->attributes[$this->attribute] = new self::$classMap['float']($this->attribute, $this->entity);
    }