protected static function getControllerFromArguments($method, array $arguments)
{
if (isset($arguments[0]) === false) {
throw new exceptions\logic('Argument 0 is undefined for function ' . $method . '()');
}
$stream = static::findControllerForStream(static::setDirectorySeparator($arguments[0]));
if ($stream === null) {
$stream = static::get($arguments[0]);
}
return $stream;
}