PHP code example of madetalent / etalentsoap

1. Go to this page and download the library: Download madetalent/etalentsoap library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

madetalent / etalentsoap example snippets

 php
$etalent = new madetalent\etalentsoap\Etalent\ManagerEtalentStrategy(getenv('ETALENT_URL'),
            getenv('ETALENT_USER'), getenv('ETALENT_PASS'));
echo $etalent->getRetornarQuestionario();
 php
$dtoUserEtalent = new madetalent\etalentsoap\Etalent\DTO\User();

$dtoUserEtalent->setNome($explodeName[0]);
$dtoUserEtalent->setSobreNome($explodeName[1]);
$dtoUserEtalent->setSexo($sex);
$dtoUserEtalent->setLogin($user->username);
$dtoUserEtalent->setEmail($user->email);

echo $etalent->setGravarCandidatoEtalent($dtoUserEtalent);