public static function getControllerFullName(array $url): ?string
    {
        $result = null;

        if (empty($url['controller'])) {
            return $result;
        }

        $class = $url['controller'];
        if (!empty($url['plugin'])) {
            $class = $url['plugin'] . '.' . $class;
        }
        $result = App::className($class . 'Controller', 'Controller');
        if (empty($result)) {
            return null;
        }

        return $result;
    }
public static function getControllerFullName(array $url): ?string
    {
        $result = null;

        if (empty($url['controller'])) {
            return $result;
        }

        $class = $url['controller'];
        if (!empty($url['plugin'])) {
            $class = $url['plugin'] . '.' . $class;
        }
        $result = App::className($class . 'Controller', 'Controller');
        if (empty($result)) {
            return null;
        }

        return $result;
    }
public static function getControllerFullName ( array $ url ) : ? string { $ result = null ; if ( empty ( $ url [ 'controller' ] ) ) { return $ result ; } $ class = $ url [ 'controller' ] ; if ( ! empty ( $ url [ 'plugin' ] ) ) { $ class = $ url [ 'plugin' ] . '.' . $ class ; } $ result = App :: className ( $ class . 'Controller' , 'Controller' ) ; if ( empty ( $ result ) ) { return null ; } return $ result ; }
Returns Controller's class name namespaced.

@param mixed[] $url array of URL parameters.
@return string|null
Returns Controller s class name namespaced .