mirror of
				https://github.com/BookStackApp/BookStack.git
				synced 2025-11-04 13:31:45 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			390 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			390 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
namespace BookStack\Exceptions;
 | 
						|
 | 
						|
class UserTokenExpiredException extends \Exception
 | 
						|
{
 | 
						|
    public $userId;
 | 
						|
 | 
						|
    /**
 | 
						|
     * UserTokenExpiredException constructor.
 | 
						|
     *
 | 
						|
     * @param string $message
 | 
						|
     * @param int    $userId
 | 
						|
     */
 | 
						|
    public function __construct(string $message, int $userId)
 | 
						|
    {
 | 
						|
        $this->userId = $userId;
 | 
						|
        parent::__construct($message);
 | 
						|
    }
 | 
						|
}
 |