<?php
namespace Modules\Additional\Specifique\Client137\Modules\EAT\Repository;

class Outil
{

    protected $pdo;

    public function __construct($pdo)
    {
        $this->pdo  = $pdo;
    }

    public function getCodeDoc()
    {
        $req="SELECT CODEDICO, LIB01DICO  from DILISPEC with(nolock)
        where TYPEDICO = 'PARAMAREAS' and CODEDICO in (:code1, :code2, :code3)";
        
        $code = $this->pdo->prepare($req);
        $code->execute([
            ':code1' => 'JI',
            ':code2' => 'AH',
            ':code3' => 'AV',
        
        ]);
        
        return $code->fetchAll(\PDO::FETCH_ASSOC);
    }
}
