public function getOptions() {
		$reflection = new ReflectionObject($this);
		$methods    = $reflection->getMethods(ReflectionMethod::IS_PUBLIC);
		
		$options = [];
		
		foreach ($methods as $method) {
			if ($method->getNumberOfRequiredParameters() > 0) {
				continue;
			}
			
			$name = $method->name;
			
			if (isset($name[3]) && $name !== 'getOptions' && substr($name, 0, 3) === 'get') {
				$optionName = lcfirst(substr($name, 3));
				$options[$optionName] = $method->invoke($this);
			}
		}
		
		return $options;
	}
public function getOptions() {
		$reflection = new ReflectionObject($this);
		$methods    = $reflection->getMethods(ReflectionMethod::IS_PUBLIC);
		
		$options = [];
		
		foreach ($methods as $method) {
			if ($method->getNumberOfRequiredParameters() > 0) {
				continue;
			}
			
			$name = $method->name;
			
			if (isset($name[3]) && $name !== 'getOptions' && substr($name, 0, 3) === 'get') {
				$optionName = lcfirst(substr($name, 3));
				$options[$optionName] = $method->invoke($this);
			}
		}
		
		return $options;
	}
public function getOptions ( ) { $ reflection = new ReflectionObject ( $ this ) ; $ methods = $ reflection -> getMethods ( ReflectionMethod :: IS_PUBLIC ) ; $ options = [ ] ; foreach ( $ methods as $ method ) { if ( $ method -> getNumberOfRequiredParameters ( ) > 0 ) { continue ; } $ name = $ method -> name ; if ( isset ( $ name [ 3 ] ) && $ name !== 'getOptions' && substr ( $ name , 0 , 3 ) === 'get' ) { $ optionName = lcfirst ( substr ( $ name , 3 ) ) ; $ options [ $ optionName ] = $ method -> invoke ( $ this ) ; } } return $ options ; }
Get the options

@return array
Get the options