src/ServiceConnector.php
protected function getDetail($detail)
    {
        $fromDetails = $this->docvertDetails[$detail];
        if ($fromDetails) {
            return $fromDetails;
        }
        
        $fromConfig = $this->config()->get($detail);
        if ($fromConfig) {
            return $fromConfig;
        }

        $fromEnv = Environment::getEnv('DOCVERT_' . strtoupper($detail));
        if ($fromEnv) {
            return $fromEnv;
        }
    }
protected function getDetail($detail)
    {
        $fromDetails = $this->docvertDetails[$detail];
        if ($fromDetails) {
            return $fromDetails;
        }
        
        $fromConfig = $this->config()->get($detail);
        if ($fromConfig) {
            return $fromConfig;
        }

        $fromEnv = Environment::getEnv('DOCVERT_' . strtoupper($detail));
        if ($fromEnv) {
            return $fromEnv;
        }
    }
protected function getDetail ( $ detail ) { $ fromDetails = $ this -> docvertDetails [ $ detail ] ; if ( $ fromDetails ) { return $ fromDetails ; } $ fromConfig = $ this -> config ( ) -> get ( $ detail ) ; if ( $ fromConfig ) { return $ fromConfig ; } $ fromEnv = Environment :: getEnv ( 'DOCVERT_' . strtoupper ( $ detail ) ) ; if ( $ fromEnv ) { return $ fromEnv ; } }
Retrieves detail in priority order from
1. local instance field
2. Config
3. Environment

@param string $detail key name for detail
@return string the value for that key
Retrieves detail in priority order from 1 . local instance field 2 . Config 3 . Environment