src/Component.php
private function setEnvironmentOptions()
    {
        if (empty($this->environment)) {
            return;
        }

        if (is_object($this->client) && property_exists($this->client, 'environment')) {
            $this->client->environment = $this->environment;
        }
        $this->jsOptions['environment'] = $this->environment;
    }
private function setEnvironmentOptions()
    {
        if (empty($this->environment)) {
            return;
        }

        if (is_object($this->client) && property_exists($this->client, 'environment')) {
            $this->client->environment = $this->environment;
        }
        $this->jsOptions['environment'] = $this->environment;
    }
private function setEnvironmentOptions ( ) { if ( empty ( $ this -> environment ) ) { return ; } if ( is_object ( $ this -> client ) && property_exists ( $ this -> client , 'environment' ) ) { $ this -> client -> environment = $ this -> environment ; } $ this -> jsOptions [ 'environment' ] = $ this -> environment ; }
Adds a tag to filter events by environment
Adds a tag to filter events by environment