kahlan\cli\CommandLine::_splitOptionName PHP Method

_splitOptionName() protected method

Helper to split option name
protected _splitOptionName ( string $name ) : array
$name string The option name.
return array
    protected function _splitOptionName($name)
    {
        $parts = explode(':', $name, 2);
        return [$parts[0], isset($parts[1]) ? $parts[1] : ''];
    }