This repository was archived by the owner on Jan 29, 2020. It is now read-only.
This repository was archived by the owner on Jan 29, 2020. It is now read-only.
Can't set a controller map template replacement to an empty string #12
Open
Description
The Inject template listener allows specifying a controller_map to map namespaces or specific controllers to directories. It is not currently possible to specify a mapping for a namespace to '' eg:
'controller_map' => [
'my/long/namespace' => '',
]
This is due to a ==
comparison with false
in the listener on line 142:
===
Fixing this may break BC...