Wire::useFuel PHP Method

useFuel() public method

If so, you can do things like $this->apivar. If not, then you'd have to do $this->wire('apivar'). If you specify a value, it will set the value of useFuel to true or false. If you don't specify a value, the current value will be returned. Local fuel scope should be disabled in classes where it might cause any conflict with class vars.
public useFuel ( boolean $useFuel = null ) : boolean
$useFuel boolean Optional boolean to turn it on or off.
return boolean Current value of $useFuel
    public function useFuel($useFuel = null)
    {
        if (!is_null($useFuel)) {
            $this->useFuel = $useFuel ? true : false;
        }
        return $this->useFuel;
    }