<?php
require(dirname(__FILE__).'/config/config.inc.php');
require_once(_PS_ROOT_DIR_ . '/init.php');
require_once('config/config.inc.php');
require_once(__DIR__.'/config/defines.inc.php');
use PrestaShop\PrestaShop\Core\Crypto\Hashing as Crypto;
use Symfony\Component\Cache\Adapter\FilesystemAdapter;
use Symfony\Component\Cache\CacheItem;
use Unirest\Request;
$user = new Employee(1);
$crypto = new Crypto();
$pass = $crypto->hash('test67!', _COOKIE_KEY_);
dump($user);
$user->passwd = $pass;
$user->save();