Skip to content

Allow the compiled container to have a namespace #783

Open
@joachim-n

Description

If I do:

    $builder->enableCompilation(__DIR__ . '/cache', '\DrupalCodeBuilder\CompiledContainer');

I get:

  [InvalidArgumentException]
  The container cannot be compiled: `\DrupalCodeBuilder\CompiledContainer` is not a valid PHP class name

It should be possible for the container class to be namespaced.

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