156 lines
3.6 KiB
YAML
156 lines
3.6 KiB
YAML
|
name: ControllerResolverTest
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: TestCase
|
||
|
type: class
|
||
|
source: PHPUnit\Framework\TestCase
|
||
|
- name: LoggerInterface
|
||
|
type: class
|
||
|
source: Psr\Log\LoggerInterface
|
||
|
- name: BadRequestException
|
||
|
type: class
|
||
|
source: Symfony\Component\HttpFoundation\Exception\BadRequestException
|
||
|
- name: Request
|
||
|
type: class
|
||
|
source: Symfony\Component\HttpFoundation\Request
|
||
|
- name: AsController
|
||
|
type: class
|
||
|
source: Symfony\Component\HttpKernel\Attribute\AsController
|
||
|
- name: ControllerResolver
|
||
|
type: class
|
||
|
source: Symfony\Component\HttpKernel\Controller\ControllerResolver
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: testGetControllerWithoutControllerParameter
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetControllerWithLambda
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetControllerWithObjectAndInvokeMethod
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetControllerWithObjectAndMethod
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetControllerWithClassAndMethodAsArray
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetControllerWithClassAndMethodAsString
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetControllerWithInvokableClass
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetControllerOnObjectWithoutInvokeMethod
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetControllerWithFunction
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetControllerWithClosure
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetControllerWithStaticController
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: staticController
|
||
|
- name: returnValue
|
||
|
comment: '# * @dataProvider getStaticControllers'
|
||
|
- name: getStaticControllers
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetControllerWithUndefinedController
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: controller
|
||
|
- name: exceptionName
|
||
|
default: 'null'
|
||
|
- name: exceptionMessage
|
||
|
default: 'null'
|
||
|
comment: '# * @dataProvider getUndefinedControllers'
|
||
|
- name: getUndefinedControllers
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testAllowedControllerTypes
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testAllowedControllerAttributes
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testAllowedAsControllerAttribute
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: createControllerResolver
|
||
|
visibility: protected
|
||
|
parameters:
|
||
|
- name: logger
|
||
|
default: 'null'
|
||
|
comment: null
|
||
|
- name: __construct
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: __toString
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: publicAction
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: privateAction
|
||
|
visibility: private
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: protectedAction
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: staticAction
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: __invoke
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: foo
|
||
|
- name: bar
|
||
|
default: 'null'
|
||
|
comment: null
|
||
|
- name: staticAction
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: __construct
|
||
|
visibility: private
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: staticAction
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
traits:
|
||
|
- PHPUnit\Framework\TestCase
|
||
|
- Psr\Log\LoggerInterface
|
||
|
- Symfony\Component\HttpFoundation\Exception\BadRequestException
|
||
|
- Symfony\Component\HttpFoundation\Request
|
||
|
- Symfony\Component\HttpKernel\Attribute\AsController
|
||
|
- Symfony\Component\HttpKernel\Controller\ControllerResolver
|
||
|
interfaces: []
|