src/Charcoal/Admin/AdminScript.php
private function booleanInput(PropertyInterface $prop, $label)
    {
        $climate = $this->climate();

        $opts = [
            1 => $prop->trueLabel(),
            0 => $prop->falseLabel()
        ];
        $input = $climate->radio(
            $label,
            $opts
        );
        return $input;
    }
private function booleanInput(PropertyInterface $prop, $label)
    {
        $climate = $this->climate();

        $opts = [
            1 => $prop->trueLabel(),
            0 => $prop->falseLabel()
        ];
        $input = $climate->radio(
            $label,
            $opts
        );
        return $input;
    }
private function booleanInput ( PropertyInterface $ prop , $ label ) { $ climate = $ this -> climate ( ) ; $ opts = [ 1 => $ prop -> trueLabel ( ) , 0 => $ prop -> falseLabel ( ) ] ; $ input = $ climate -> radio ( $ label , $ opts ) ; return $ input ; }
Get a CLI input from a boolean property.

@param  PropertyInterface $prop  The property to retrieve input from.
@param  string            $label The input label.
@return LeagueInput The League's terminal input object.
Get a CLI input from a boolean property .