Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat laravel ut #65

Merged
merged 3 commits into from
Aug 29, 2024
Merged

Feat laravel ut #65

merged 3 commits into from
Aug 29, 2024

Conversation

eeliu
Copy link
Collaborator

@eeliu eeliu commented Aug 29, 2024

add LaravelPerRequest

class CachethqRequestPlugin extends Pinpoint\Plugins\LaravelPerRequest // new `LaravelPerRequest `
{
    public function __construct()
    {
        $blackUri = ['/favicon.ico'];
        // if uri in blackUri, skips it 
        if (!in_array($_SERVER['REQUEST_URI'], $blackUri)) {
            parent::__construct();
        }
    }
}

@eeliu eeliu merged commit 2bc8fff into dev Aug 29, 2024
19 checks passed
@eeliu eeliu deleted the feat-laravel-ut branch August 29, 2024 02:09
@eeliu eeliu added the enhancement New feature or request label Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant