PSR Flashcards

1
Q

What does PSR6 define?

A

Caching interfaces

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What specific interfaces and classes does PSR6 define?

A

\Psr\Cache\CacheItemInterface
\Psr\Cache\CacheItemPoolInterface
\Psr\Cache\CacheException
\Psr\Cache\InvalidArgumentException

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does PSR7 define?

A

HTTP Request/Response interfaces

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does PSR11 define?

A

Dependency Container interfaces

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does PSR13 define?

A

Hypermedia Link interfaces

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does PSR16 define?

A

Caching interfaces. A simpler alternative to PSR6.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does PSR14 define?

A

Event dispatcher interfaces.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What specific interfaces does PSR14 define?

A

Psr\EventDispatcher\EventDispatcherInterface
Psr\EventDispatcher\ListenerProviderInterface
Psr\EventDispatcher\StoppableEventInterface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the standard kernel events?

A

kernel. request
kernel. exception
kernel. controller
kernel. controller_arguments
kernel. view
kernel. response
kernel. finish_request
kernel. terminate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does PSR3 define?

A

Logger interface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly