protected function parseStageString(string $stage): array
    {
        [$name, $parameters] = \array_pad(\explode(':', $stage, 2), 2, []);

        if (\is_string($parameters)) {
            $parameters = \explode(',', $parameters);
        }

        return [$name, $parameters];
    }
protected function parseStageString(string $stage): array
    {
        [$name, $parameters] = \array_pad(\explode(':', $stage, 2), 2, []);

        if (\is_string($parameters)) {
            $parameters = \explode(',', $parameters);
        }

        return [$name, $parameters];
    }
protected function parseStageString ( string $ stage ) : array { [ $ name , $ parameters ] = \ array_pad ( \ explode ( ':' , $ stage , 2 ) , 2 , [ ] ) ; if ( \ is_string ( $ parameters ) ) { $ parameters = \ explode ( ',' , $ parameters ) ; } return [ $ name , $ parameters ] ; }
Parse full pipe string to get name and parameters.

@param string $stage

@return array
Parse full pipe string to get name and parameters .