protected function _splitArgs($args) { $out = []; foreach ($args as $arg) { if (strpos($arg, ':') !== false) { list($key, $value) = explode(':', $arg); $out[$key] = $value; } else { $out[] = $arg; } } return $out; }