2020-02-27 19:09:54 -03:00
|
|
|
<?php
|
|
|
|
namespace ProVM\NotariaRaby\Common\Controller\Web;
|
|
|
|
|
|
|
|
use Psr\Http\Message\ServerRequestInterface as Request;
|
|
|
|
use Psr\Http\Message\ResponseInterface as Response;
|
2020-02-27 23:02:24 -03:00
|
|
|
use Psr\Container\ContainerInterface as Container;
|
2020-02-27 19:09:54 -03:00
|
|
|
use Slim\Views\Blade as View;
|
|
|
|
|
|
|
|
class Home {
|
2020-02-27 23:02:24 -03:00
|
|
|
public function __invoke(Request $request, Response $response, View $view, Container $container): Response {
|
|
|
|
$banner = (object) [
|
|
|
|
'titulo' => "5° NOTARÍA DE SANTIAGO\nPATRICIO RABY BENAVENTE",
|
2020-02-28 13:57:44 -03:00
|
|
|
'contenido' => "Gertrudis Echenique 30, of. 32, El Golf\n<img style=\"height: 1em\" src=\"" . $container->get('urls.metro.logo') . "\" /> Metro Alcantara"
|
2020-02-27 23:02:24 -03:00
|
|
|
];
|
2020-02-28 13:57:44 -03:00
|
|
|
$suplente = (object) [
|
|
|
|
'horario' => (object) [
|
|
|
|
'titulo' => "Horario lunes a viernes\n9:30 - 13:30 | 15:30 - 18:00",
|
|
|
|
'contenido' => "La atención dentro del horario, puede verse
|
|
|
|
afectada circunstancialmente y sin previo
|
|
|
|
aviso, por encontrarse el notario cumpliendo
|
|
|
|
funciones fuera de la Notaría."
|
|
|
|
],
|
|
|
|
'datos' => (object) [
|
|
|
|
'fechas' => "DEL 1 DE ABRIL AL 15 DE MAYO",
|
|
|
|
'nombre' => "MARIA VIRGINIA\nWIELANDT COVARRUBIAS"
|
|
|
|
]
|
|
|
|
];
|
|
|
|
return $view->render($response, 'home', compact('banner', 'suplente'));
|
2020-02-27 19:09:54 -03:00
|
|
|
}
|
|
|
|
}
|