Components\Model\User::setActivated PHP Method

setActivated() public method

Set the column activated in the table as boolean.
public setActivated ( boolean $bool ) : mixed
$bool boolean a boolean value to be based if activated or not
return mixed
    public function setActivated($bool)
    {
        $this->activated = (int) $bool;
        return $this;
    }