You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
Originally posted by @bernhard-efler at zendframework/zend-view#16
The text was updated successfully, but these errors were encountered: