RU: Возвращает найденную зависимость, определенную параметром типа T.
Выдает StateError, если зависимость не может быть разрешена.
Если вы хотите получить null, если зависимость не может быть найдена,
то используйте вместо этого tryResolve
return - возвращает объект типа T или StateError
RU: Возвращает найденную зависимость типа T или null, если она не может быть найдена.
ENG: Returns found dependency of type T or null if it cannot be found.