Closed JoeBengalen closed 9 years ago
I just read the code a bit an this caught my eye:
https://github.com/feryardiant/slim-plates-view/blob/master/src/Plates.php#L119
Wont that return the return value of write? (which is an int)
write
int
Also, where is this $container coming from? https://github.com/feryardiant/slim-plates-view/blob/master/src/Plates.php#L37 The container should be not be there at all. If you want to register the service in the container use the PlatesProvider
$container
PlatesProvider
Hi @JoeBengalen
Psr\Http\Message\ResponseInterface
Regards
I just read the code a bit an this caught my eye:
https://github.com/feryardiant/slim-plates-view/blob/master/src/Plates.php#L119
Wont that return the return value of
write
? (which is anint
)Also, where is this
$container
coming from? https://github.com/feryardiant/slim-plates-view/blob/master/src/Plates.php#L37 The container should be not be there at all. If you want to register the service in the container use thePlatesProvider