public function extendByToken($token, $hours = null)
    {
        $token = $this->findByToken($token);

        if (! is_null($token)) {
            return $token->extend($hours);
        }
    }
public function extendByToken($token, $hours = null)
    {
        $token = $this->findByToken($token);

        if (! is_null($token)) {
            return $token->extend($hours);
        }
    }
public function extendByToken ( $ token , $ hours = null ) { $ token = $ this -> findByToken ( $ token ) ; if ( ! is_null ( $ token ) ) { return $ token -> extend ( $ hours ) ; } }
Extend the expiration of a token.

@param string $token
@param null   $hours
Extend the expiration of a token .