45 lines
1.2 KiB
YAML
45 lines
1.2 KiB
YAML
|
name: DateTimeValueResolver
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: ClockInterface
|
||
|
type: class
|
||
|
source: Psr\Clock\ClockInterface
|
||
|
- name: Request
|
||
|
type: class
|
||
|
source: Symfony\Component\HttpFoundation\Request
|
||
|
- name: MapDateTime
|
||
|
type: class
|
||
|
source: Symfony\Component\HttpKernel\Attribute\MapDateTime
|
||
|
- name: ValueResolverInterface
|
||
|
type: class
|
||
|
source: Symfony\Component\HttpKernel\Controller\ValueResolverInterface
|
||
|
- name: ArgumentMetadata
|
||
|
type: class
|
||
|
source: Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadata
|
||
|
- name: NotFoundHttpException
|
||
|
type: class
|
||
|
source: Symfony\Component\HttpKernel\Exception\NotFoundHttpException
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: __construct
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: clock
|
||
|
default: 'null'
|
||
|
comment: null
|
||
|
- name: resolve
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: request
|
||
|
- name: argument
|
||
|
comment: null
|
||
|
traits:
|
||
|
- Psr\Clock\ClockInterface
|
||
|
- Symfony\Component\HttpFoundation\Request
|
||
|
- Symfony\Component\HttpKernel\Attribute\MapDateTime
|
||
|
- Symfony\Component\HttpKernel\Controller\ValueResolverInterface
|
||
|
- Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadata
|
||
|
- Symfony\Component\HttpKernel\Exception\NotFoundHttpException
|
||
|
interfaces:
|
||
|
- ValueResolverInterface
|