PSR Flashcards
What does PSR6 define?
Caching interfaces
What specific interfaces and classes does PSR6 define?
\Psr\Cache\CacheItemInterface
\Psr\Cache\CacheItemPoolInterface
\Psr\Cache\CacheException
\Psr\Cache\InvalidArgumentException
What does PSR7 define?
HTTP Request/Response interfaces
What does PSR11 define?
Dependency Container interfaces
What does PSR13 define?
Hypermedia Link interfaces
What does PSR16 define?
Caching interfaces. A simpler alternative to PSR6.
What does PSR14 define?
Event dispatcher interfaces.
What specific interfaces does PSR14 define?
Psr\EventDispatcher\EventDispatcherInterface
Psr\EventDispatcher\ListenerProviderInterface
Psr\EventDispatcher\StoppableEventInterface
What are the standard kernel events?
kernel. request
kernel. exception
kernel. controller
kernel. controller_arguments
kernel. view
kernel. response
kernel. finish_request
kernel. terminate
What does PSR3 define?
Logger interface