src/Shell/Task/CsvRelationTask.php
private function normalize(array $selection) : array
    {
        $result = [];
        foreach ($selection as $module) {
            $result[] = $this->_camelize(strtolower(trim($module)));
        }

        $result = array_unique($result);
        asort($result);

        return $result;
    }
private function normalize(array $selection) : array
    {
        $result = [];
        foreach ($selection as $module) {
            $result[] = $this->_camelize(strtolower(trim($module)));
        }

        $result = array_unique($result);
        asort($result);

        return $result;
    }
private function normalize ( array $ selection ) : array { $ result = [ ] ; foreach ( $ selection as $ module ) { $ result [ ] = $ this -> _camelize ( strtolower ( trim ( $ module ) ) ) ; } $ result = array_unique ( $ result ) ; asort ( $ result ) ; return $ result ; }
Interactive input normalization.

@param string[] $selection User input
@return string[]
Interactive input normalization .