Core/Security/Token/AuthToken.php
public function setExpires(int $days)
    {
        $this->expires_days = $days;

        $time = strtotime('+ ' . $this->expires_days . ' days');

        $this->expires_datetime = date('Y-m-d H:i:s', $time);
        $this->expires_timestamp = $time;
    }
public function setExpires(int $days)
    {
        $this->expires_days = $days;

        $time = strtotime('+ ' . $this->expires_days . ' days');

        $this->expires_datetime = date('Y-m-d H:i:s', $time);
        $this->expires_timestamp = $time;
    }
public function setExpires ( int $ days ) { $ this -> expires_days = $ days ; $ time = strtotime ( '+ ' . $ this -> expires_days . ' days' ) ; $ this -> expires_datetime = date ( 'Y-m-d H:i:s' , $ time ) ; $ this -> expires_timestamp = $ time ; }
Sets days after token gets expired

@param int $days
Sets days after token gets expired