f3-factory / fatfree-core

Fat-Free Framework core library
GNU General Public License v3.0
207 stars 88 forks source link

Fixed error description when (PSR-11) `CONTAINER` fails to resolve a class #253

Closed Rayne closed 6 years ago

Rayne commented 6 years ago

This PR fixes the class resolving error description, e.g.

Invalid class 'ExampleController'

instead of

Invalid class League\Container\Container::__set_state([])

when working with a PSR-11 dependency injection container.

Rayne commented 6 years ago

Ping @nanawel

nanawel commented 6 years ago

Indeed! :+1: