protected function getGhost()
    {
	    // A value is set for this checkbox, use it
	    if ( null !== $this->ghostCheckboxValue ) {
		    return $this->ghostCheckboxValue;
	    }

	    // No value is set, and it is not forced to null, so use default ghost (if any)
	    if ( ! $this->avoidGhost ) {
		    return config( 'blade-materialize.checkbox_ghost' );
	    }

	    // No value is set, user didn't force ghost
	    return null;
    }
protected function getGhost()
    {
	    // A value is set for this checkbox, use it
	    if ( null !== $this->ghostCheckboxValue ) {
		    return $this->ghostCheckboxValue;
	    }

	    // No value is set, and it is not forced to null, so use default ghost (if any)
	    if ( ! $this->avoidGhost ) {
		    return config( 'blade-materialize.checkbox_ghost' );
	    }

	    // No value is set, user didn't force ghost
	    return null;
    }
protected function getGhost ( ) { // A value is set for this checkbox, use it if ( null !== $ this -> ghostCheckboxValue ) { return $ this -> ghostCheckboxValue ; } // No value is set, and it is not forced to null, so use default ghost (if any) if ( ! $ this -> avoidGhost ) { return config ( 'blade-materialize.checkbox_ghost' ) ; } // No value is set, user didn't force ghost return null ; }
Return the checkbox ghost value, or null if there is no ghost value;
Return the checkbox ghost value or null if there is no ghost value ;