src/Utility/Utility.php
public static function deconstructIniKey($key) {
		$res = [
			'plugin' => null,
			'prefix' => null
		];

		if (strpos($key, '.') !== false) {
			list($res['plugin'], $key) = explode('.', $key);
		}
		if (strpos($key, '/') !== false) {
			list($res['prefix'], $key) = explode('/', $key);
		}
		$res['controller'] = $key;
		return $res;
	}
public static function deconstructIniKey($key) {
		$res = [
			'plugin' => null,
			'prefix' => null
		];

		if (strpos($key, '.') !== false) {
			list($res['plugin'], $key) = explode('.', $key);
		}
		if (strpos($key, '/') !== false) {
			list($res['prefix'], $key) = explode('/', $key);
		}
		$res['controller'] = $key;
		return $res;
	}
public static function deconstructIniKey ( $ key ) { $ res = [ 'plugin' => null , 'prefix' => null ] ; if ( strpos ( $ key , '.' ) !== false ) { list ( $ res [ 'plugin' ] , $ key ) = explode ( '.' , $ key ) ; } if ( strpos ( $ key , '/' ) !== false ) { list ( $ res [ 'prefix' ] , $ key ) = explode ( '/' , $ key ) ; } $ res [ 'controller' ] = $ key ; return $ res ; }
Deconstructs an authentication ini section key into a named array with authentication parts.

@param string $key INI section key as found in authentication.ini
@return array Array with named keys for controller, plugin and prefix
Deconstructs an authentication ini section key into a named array with authentication parts .