$app->get('......',....)
$container=$this->getContainer();
Is there any difference between the following? Pimple docs uses the former while slim examples the latter. Is any of the two considered more formal in PSR terms?
$server=$container['App\Model\Server'];
$server=$container->get('App\Model\Server');