Cartalyst\Sentinel\Activations\EloquentActivation::setCompletedAttribute PHP Method

setCompletedAttribute() public method

Set mutator for the "completed" attribute.
public setCompletedAttribute ( mixed $completed ) : void
$completed mixed
return void
    public function setCompletedAttribute($completed)
    {
        $this->attributes['completed'] = (bool) $completed;
    }