Skip to content

Cannot declare class srcDevDebugProjectContainerUrlMatcher, because the name is already in use #25886

Closed
@pyatnitsev

Description

@pyatnitsev
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Symfony version 4.0.3

I have a issue with executing build-in command in Controller.
I have following code:

`

    $application = new Application($this->get('kernel'));
    $application->setAutoExit(false);


    $input = new ArrayInput([
        'command' => 'cache:clear',
    ]);

    $output = new BufferedOutput();
    $application->run($input, $output);

    $content = $output->fetch();

`

It's throws Compile Error: Cannot declare class srcDevDebugProjectContainerUrlMatcher, because the name is already in use but in 3.4.x it was work

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions