SilverStripe\Raygun\RaygunClientFactory

Synopsis

class RaygunClientFactory implements Factory {
  • // constants
  • const RAYGUN_APP_KEY_NAME = 'SS_RAYGUN_APP_KEY';
  • // members
  • protected RaygunClient $client;
}

Hierarchy

Implements

  • SilverStripe\Core\Injector\Factory

Constants

Name Value
RAYGUN_APP_KEY_NAME 'SS_RAYGUN_APP_KEY'

Members

Methods

protected

public

  • create() — Wrapper to get the Raygun API key from the .env file to pass through to the Raygun client.