Problem/Motivation

This should be completely valid:

services:
  some_service_name:
    class: \This\Class\Has\A\Leading\Slash

Proposed resolution

TBD

Remaining tasks

Fix it

User interface changes

N/A

API changes

TBD

Data model changes

N/A

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tim.plunkett’s picture

Issue summary: View changes
Status: Active » Needs review
FileSize
528 bytes

Status: Needs review » Needs work

The last submitted patch, 1: 2536736-1.patch, failed testing.

tim.plunkett’s picture

Title: Symfony\Component\DependencyInjection\Dumper\PhpDumper is overly strict with lazy services » Symfony\Component\DependencyInjection\Dumper\PhpDumper does not allow leading slashes in service definitions
Issue summary: View changes
dawehner’s picture

Sounds like an upstream issue then: https://github.com/symfony/symfony/issues/15001

dawehner’s picture

Status: Needs work » Fixed

Which is solved now ... We will support it automatically, once the next stable version of symfony is pulled in.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.