Proyectos de Subversion LeadersLinked - Backend

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
15638 anderson 1
<?php
2
 
15640 anderson 3
declare(strict_types=1);
15638 anderson 4
 
15640 anderson 5
namespace LeadersLinked\Controller;
6
 
7
use Laminas\View\Model\ViewModel;
15638 anderson 8
use Laminas\Mvc\Controller\AbstractActionController;
9
 
10
// Create an action controller.
11
class DiscoveryContactProgressController extends AbstractActionController
12
{
13
    // Define an action "world".
15639 anderson 14
    public function indexAction()
15638 anderson 15
    {
16
        // Get "message" from the query parameters.
17
        // In production code, it's a good idea to sanitize user input.
18
        $message = $this->params()->fromQuery('message', 'hello');
19
 
20
        // Pass variables to the view.
15647 anderson 21
        return 'hola';
15638 anderson 22
    }
23
}