public function options($actionID)
    {
        $actionClass   = $this->actions()[$actionID] ?? null;
        $action        = new \ReflectionClass($actionClass);
        $actionOptions = [];

        foreach ($action->getProperties(\ReflectionProperty::IS_PUBLIC) as $property) {
            if (in_array($property->getName(), array_values($this->optionAliases()))) {
                $actionOptions[] = $property->getName();
            }
        }

        return $actionOptions;

    }
public function options($actionID)
    {
        $actionClass   = $this->actions()[$actionID] ?? null;
        $action        = new \ReflectionClass($actionClass);
        $actionOptions = [];

        foreach ($action->getProperties(\ReflectionProperty::IS_PUBLIC) as $property) {
            if (in_array($property->getName(), array_values($this->optionAliases()))) {
                $actionOptions[] = $property->getName();
            }
        }

        return $actionOptions;

    }
public function options ( $ actionID ) { $ actionClass = $ this -> actions ( ) [ $ actionID ] ?? null ; $ action = new \ ReflectionClass ( $ actionClass ) ; $ actionOptions = [ ] ; foreach ( $ action -> getProperties ( \ ReflectionProperty :: IS_PUBLIC ) as $ property ) { if ( in_array ( $ property -> getName ( ) , array_values ( $ this -> optionAliases ( ) ) ) ) { $ actionOptions [ ] = $ property -> getName ( ) ; } } return $ actionOptions ; }
Get options from public Action properties
Get options from public Action properties