public function __construct($sName)
 {
     if (!$this->_isEnabled()) {
         return;
     }
     // If it's disabled, we stop the execution of the class
     $this->sName = $sName;
     parent::__construct('security_token', (new T())->generate($this->sName));
 }
Exemple #2
0
 public function __construct($sName)
 {
     $this->sName = $sName;
     parent::__construct('security_token', (new T())->generate($this->sName));
 }