316 lines
9.1 KiB
YAML
316 lines
9.1 KiB
YAML
name: AbstractControllerTest
|
|
class_comment: null
|
|
dependencies:
|
|
- name: AbstractController
|
|
type: class
|
|
source: Symfony\Bundle\FrameworkBundle\Controller\AbstractController
|
|
- name: TestCase
|
|
type: class
|
|
source: Symfony\Bundle\FrameworkBundle\Tests\TestCase
|
|
- name: Container
|
|
type: class
|
|
source: Symfony\Component\DependencyInjection\Container
|
|
- name: ServiceNotFoundException
|
|
type: class
|
|
source: Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException
|
|
- name: ContainerBag
|
|
type: class
|
|
source: Symfony\Component\DependencyInjection\ParameterBag\ContainerBag
|
|
- name: FrozenParameterBag
|
|
type: class
|
|
source: Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag
|
|
- name: Form
|
|
type: class
|
|
source: Symfony\Component\Form\Form
|
|
- name: FormBuilderInterface
|
|
type: class
|
|
source: Symfony\Component\Form\FormBuilderInterface
|
|
- name: FormConfigInterface
|
|
type: class
|
|
source: Symfony\Component\Form\FormConfigInterface
|
|
- name: FormFactoryInterface
|
|
type: class
|
|
source: Symfony\Component\Form\FormFactoryInterface
|
|
- name: FormInterface
|
|
type: class
|
|
source: Symfony\Component\Form\FormInterface
|
|
- name: FormView
|
|
type: class
|
|
source: Symfony\Component\Form\FormView
|
|
- name: BinaryFileResponse
|
|
type: class
|
|
source: Symfony\Component\HttpFoundation\BinaryFileResponse
|
|
- name: FileNotFoundException
|
|
type: class
|
|
source: Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException
|
|
- name: File
|
|
type: class
|
|
source: Symfony\Component\HttpFoundation\File\File
|
|
- name: JsonResponse
|
|
type: class
|
|
source: Symfony\Component\HttpFoundation\JsonResponse
|
|
- name: RedirectResponse
|
|
type: class
|
|
source: Symfony\Component\HttpFoundation\RedirectResponse
|
|
- name: Request
|
|
type: class
|
|
source: Symfony\Component\HttpFoundation\Request
|
|
- name: RequestStack
|
|
type: class
|
|
source: Symfony\Component\HttpFoundation\RequestStack
|
|
- name: Response
|
|
type: class
|
|
source: Symfony\Component\HttpFoundation\Response
|
|
- name: ResponseHeaderBag
|
|
type: class
|
|
source: Symfony\Component\HttpFoundation\ResponseHeaderBag
|
|
- name: FlashBag
|
|
type: class
|
|
source: Symfony\Component\HttpFoundation\Session\Flash\FlashBag
|
|
- name: Session
|
|
type: class
|
|
source: Symfony\Component\HttpFoundation\Session\Session
|
|
- name: StreamedResponse
|
|
type: class
|
|
source: Symfony\Component\HttpFoundation\StreamedResponse
|
|
- name: NotFoundHttpException
|
|
type: class
|
|
source: Symfony\Component\HttpKernel\Exception\NotFoundHttpException
|
|
- name: HttpKernelInterface
|
|
type: class
|
|
source: Symfony\Component\HttpKernel\HttpKernelInterface
|
|
- name: RouterInterface
|
|
type: class
|
|
source: Symfony\Component\Routing\RouterInterface
|
|
- name: TokenStorage
|
|
type: class
|
|
source: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage
|
|
- name: UsernamePasswordToken
|
|
type: class
|
|
source: Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken
|
|
- name: AuthorizationCheckerInterface
|
|
type: class
|
|
source: Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface
|
|
- name: AccessDeniedException
|
|
type: class
|
|
source: Symfony\Component\Security\Core\Exception\AccessDeniedException
|
|
- name: InMemoryUser
|
|
type: class
|
|
source: Symfony\Component\Security\Core\User\InMemoryUser
|
|
- name: CsrfTokenManagerInterface
|
|
type: class
|
|
source: Symfony\Component\Security\Csrf\CsrfTokenManagerInterface
|
|
- name: SerializerInterface
|
|
type: class
|
|
source: Symfony\Component\Serializer\SerializerInterface
|
|
- name: HttpHeaderSerializer
|
|
type: class
|
|
source: Symfony\Component\WebLink\HttpHeaderSerializer
|
|
- name: Link
|
|
type: class
|
|
source: Symfony\Component\WebLink\Link
|
|
- name: Environment
|
|
type: class
|
|
source: Twig\Environment
|
|
properties: []
|
|
methods:
|
|
- name: createController
|
|
visibility: protected
|
|
parameters: []
|
|
comment: null
|
|
- name: testSubscribedServices
|
|
visibility: public
|
|
parameters: []
|
|
comment: '# * This test protects the default subscribed core services against accidental
|
|
modification.'
|
|
- name: testGetParameter
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testMissingParameterBag
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testForward
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testGetUser
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testGetUserWithEmptyTokenStorage
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testGetUserWithEmptyContainer
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: getContainerWithTokenStorage
|
|
visibility: private
|
|
parameters:
|
|
- name: token
|
|
default: 'null'
|
|
comment: null
|
|
- name: testJson
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testJsonWithSerializer
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testJsonWithSerializerContextOverride
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFile
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFileAsInline
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFileWithOwnFileName
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFileWithOwnFileNameAsInline
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFileFromPath
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFileFromPathWithCustomizedFileName
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFileWhichDoesNotExist
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testIsGranted
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testdenyAccessUnlessGranted
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testdenyAccessUnlessGrantedSetsAttributesAsArray
|
|
visibility: public
|
|
parameters:
|
|
- name: attribute
|
|
- name: exceptionAttributes
|
|
comment: '# * @dataProvider provideDenyAccessUnlessGrantedSetsAttributesAsArray'
|
|
- name: provideDenyAccessUnlessGrantedSetsAttributesAsArray
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testRenderViewTwig
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testRenderTwig
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testRenderViewWithForm
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testRenderWithFormSubmittedAndInvalid
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testStreamTwig
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testRedirectToRoute
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testAddFlash
|
|
visibility: public
|
|
parameters: []
|
|
comment: '# * @runInSeparateProcess'
|
|
- name: testCreateAccessDeniedException
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testIsCsrfTokenValid
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testGenerateUrl
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testRedirect
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testCreateNotFoundException
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testCreateForm
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testCreateFormBuilder
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testAddLink
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testSendEarlyHints
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
traits:
|
|
- Symfony\Bundle\FrameworkBundle\Controller\AbstractController
|
|
- Symfony\Bundle\FrameworkBundle\Tests\TestCase
|
|
- Symfony\Component\DependencyInjection\Container
|
|
- Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException
|
|
- Symfony\Component\DependencyInjection\ParameterBag\ContainerBag
|
|
- Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag
|
|
- Symfony\Component\Form\Form
|
|
- Symfony\Component\Form\FormBuilderInterface
|
|
- Symfony\Component\Form\FormConfigInterface
|
|
- Symfony\Component\Form\FormFactoryInterface
|
|
- Symfony\Component\Form\FormInterface
|
|
- Symfony\Component\Form\FormView
|
|
- Symfony\Component\HttpFoundation\BinaryFileResponse
|
|
- Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException
|
|
- Symfony\Component\HttpFoundation\File\File
|
|
- Symfony\Component\HttpFoundation\JsonResponse
|
|
- Symfony\Component\HttpFoundation\RedirectResponse
|
|
- Symfony\Component\HttpFoundation\Request
|
|
- Symfony\Component\HttpFoundation\RequestStack
|
|
- Symfony\Component\HttpFoundation\Response
|
|
- Symfony\Component\HttpFoundation\ResponseHeaderBag
|
|
- Symfony\Component\HttpFoundation\Session\Flash\FlashBag
|
|
- Symfony\Component\HttpFoundation\Session\Session
|
|
- Symfony\Component\HttpFoundation\StreamedResponse
|
|
- Symfony\Component\HttpKernel\Exception\NotFoundHttpException
|
|
- Symfony\Component\HttpKernel\HttpKernelInterface
|
|
- Symfony\Component\Routing\RouterInterface
|
|
- Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage
|
|
- Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken
|
|
- Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface
|
|
- Symfony\Component\Security\Core\Exception\AccessDeniedException
|
|
- Symfony\Component\Security\Core\User\InMemoryUser
|
|
- Symfony\Component\Security\Csrf\CsrfTokenManagerInterface
|
|
- Symfony\Component\Serializer\SerializerInterface
|
|
- Symfony\Component\WebLink\HttpHeaderSerializer
|
|
- Symfony\Component\WebLink\Link
|
|
- Twig\Environment
|
|
interfaces: []
|