Call to a member function hasRole () on null
Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR)
Call to a member function hasRole() on null
不知道哪里出了问题
推荐文章: