src/GameOfLife/Inputs/BoardEditor/OptionHandler/BoardEditorOptionParser.php
/**
     * Splits an option string into option name and arguments and returns the result.
     *
     * @param String $_input Option string
     * @param String $_delimiter at which the option string will be split
     *
     * @return array Array in the format array(String $optionName, String[] $arguments)
     */
Splits an option string into option name and arguments and returns the result.
@param String $_input Option string
@param String $_delimiter at which the option string will be split

@return array Array in the format array(String $optionName, String[] $arguments)
Splits an option string into option name and arguments and returns the result . @param String $_input Option string @param String $_delimiter at which the option string will be split @return array Array in the format array ( String $optionName String [] $arguments )
private function splitOption(String $_input, String $_delimiter): array
    {
        $parts = explode($_delimiter, $_input);
        $optionName = array_shift($parts);
        $arguments = $parts;
        return array("name" => $optionName, "arguments" => $arguments);
    }
private function splitOption ( String $ _input , String $ _delimiter ) : array { $ parts = explode ( $ _delimiter , $ _input ) ; $ optionName = array_shift ( $ parts ) ; $ arguments = $ parts ; return array ( " name " => $ optionName , " arguments " => $ arguments ) ; }
Splits an option string into option name and arguments and returns the result.
Splits an option string into option name and arguments and returns the result .