function wp_composer() { $string = ''; $string .= Helpers\maps('Dummy'); $string .= Base::view('test'); return $string; }
/** * Making alias * * @param string $key * @return string */ function maps($key) { $maps = array('Dummy' => Base::base_namespace() . '\\Dummy'); return $maps[$key]; }