`Drupal\x\:Y`: the colon parks a failed reference under the class's short name, which is what a sync looks for.
(fqcn: string)
| 311 | |
| 312 | /** `Drupal\x\:Y`: the colon parks a failed reference under the class's short name, which is what a sync looks for. */ |
| 313 | function fqcnRef(fqcn: string): string { |
| 314 | const slash = fqcn.lastIndexOf('\\'); |
| 315 | return `${FQCN_REF}${fqcn.slice(0, slash + 1)}:${fqcn.slice(slash + 1)}`; |
| 316 | } |
| 317 | |
| 318 | const SERVICE_ID = /^(?:'([^']+)'|"([^"]+)"|([A-Za-z_\\][\w.\\-]*))\s*:\s*(.*)$/; |
| 319 |