public function getKey($field, $assoc = false)
    {
        return $assoc ? $this->get($assoc)[$field] : $this->get($assoc)->{$field};
    }
public function getKey($field, $assoc = false)
    {
        return $assoc ? $this->get($assoc)[$field] : $this->get($assoc)->{$field};
    }
public function getKey ( $ field , $ assoc = false ) { return $ assoc ? $ this -> get ( $ assoc ) [ $ field ] : $ this -> get ( $ assoc ) -> { $ field } ; }
Get key from returned config
@param string $field key
@param bool $assoc
@return mixed
Get key from returned config