This repository was archived by the owner on Jan 31, 2020. It is now read-only.
This repository was archived by the owner on Jan 31, 2020. It is now read-only.
Placeholder View Helper "containerExists" makes no sense #16
Open
Description
At the moment the public function containerExists does not have any change to work:
because __invoke checks if a name is set it is impossible to call placeholder()
So to check if a placeholder name exists you have to all call
placeholder('foobar')->containerExists('foobar')
but then the container is created in __invoke and containerExists returns in every case true.
And because placeholder('dummy') returns a container containerExists is never reachable and usable.
Metadata
Metadata
Assignees
Labels
No labels