Get the applicable namespace prefix for a component section. Possible sections:
auto Auto-detect which is the current component section
inverse The inverse area than auto
site Frontend
admin Backend
public getNamespacePrefix ( string $section = 'auto' ) : string | ||
$section | string | The section you want to get information for |
return | string | The namespace prefix for the component's classes, e.g. \Foobar\Example\Site\ |