public function getFalseBooleanOption()
    {
        if (!$this->isBoolean()) {
            return null;
        }

        $options = $this->getOptionsByLang($this->defaultLang);

        if (isset($options[0])) {
            return $options[0];
        }

        return new Label('No', $this->getLocaleKey(''), true, 'en', $this->getFieldId(0), 0);
    }
public function getFalseBooleanOption()
    {
        if (!$this->isBoolean()) {
            return null;
        }

        $options = $this->getOptionsByLang($this->defaultLang);

        if (isset($options[0])) {
            return $options[0];
        }

        return new Label('No', $this->getLocaleKey(''), true, 'en', $this->getFieldId(0), 0);
    }
public function getFalseBooleanOption ( ) { if ( ! $ this -> isBoolean ( ) ) { return null ; } $ options = $ this -> getOptionsByLang ( $ this -> defaultLang ) ; if ( isset ( $ options [ 0 ] ) ) { return $ options [ 0 ] ; } return new Label ( 'No' , $ this -> getLocaleKey ( '' ) , true , 'en' , $ this -> getFieldId ( 0 ) , 0 ) ; }
Gets the false label for the boolean field.

@return mix(null | restApps\CodeGenerator\Models\Label)
Gets the false label for the boolean field .