You should put it at the top of the function, before the self::globalArticleInstance(), to avoid infinite loop bugs, which are very annoying. They're even more annoying that partially initialised objects. Especially when they happen inside exception handlers.