function getOption( string $name, $defaultValue = false )
   {

      if ( ! $this->hasOption( $name ) )
      {
         if ( \is_null( $defaultValue ) )
         {
            return $defaultValue;
         }
         $this->_options[ $name ] = $defaultValue;
      }

      return $this->_options[ $name ];

   }
function getOption( string $name, $defaultValue = false )
   {

      if ( ! $this->hasOption( $name ) )
      {
         if ( \is_null( $defaultValue ) )
         {
            return $defaultValue;
         }
         $this->_options[ $name ] = $defaultValue;
      }

      return $this->_options[ $name ];

   }
function getOption ( string $ name , $ defaultValue = false ) { if ( ! $ this -> hasOption ( $ name ) ) { if ( \ is_null ( $ defaultValue ) ) { return $ defaultValue ; } $ this -> _options [ $ name ] = $ defaultValue ; } return $ this -> _options [ $ name ] ; }
Gets the option value of option with defined name or FALSE if the option is unknown.

@param string $name The name of the option.
@param mixed  $defaultValue This value is remembered and returned if the option not exists. If the value is NULL
the value is not set, it is only returned in this case.
@return mixed
Gets the option value of option with defined name or FALSE if the option is unknown .