/** * splite commande string with '@' */ protected static function spliteStringCallback($string) { $data = Strings::splite($string, "@"); return array('controller' => $data[0], 'methode' => $data[1]); }
/** * get the name of option */ protected function getOptionalKeyValue($opt) { $data = Strings::splite($opt, "="); return $data[0]; }