public function getParamNames(): array
    {
        $names = [];

        foreach ($this->getPublicProperties() as $param) {
            $names[] = $param->getName();
        }

        return $names;
    }
public function getParamNames(): array
    {
        $names = [];

        foreach ($this->getPublicProperties() as $param) {
            $names[] = $param->getName();
        }

        return $names;
    }
public function getParamNames ( ) : array { $ names = [ ] ; foreach ( $ this -> getPublicProperties ( ) as $ param ) { $ names [ ] = $ param -> getName ( ) ; } return $ names ; }
Get all parameter names, which are simply the names of the public properties.

@return array
Get all parameter names which are simply the names of the public properties .