public function addResolver(IUserLocaleResolver $resolver) { array_unshift($this->resolvers, $resolver); // first the newer }