original_string: public function encryptBase64($text, $key = null, $safe = false)
      {
          if ($safe === true) {
              return strtr(base64_encode($this->encrypt($text, $key)), '+/', '-_');
          }
  
          return base64_encode($this->encrypt($text, $key));
      }
code: public function encryptBase64($text, $key = null, $safe = false)
      {
          if ($safe === true) {
              return strtr(base64_encode($this->encrypt($text, $key)), '+/', '-_');
          }
  
          return base64_encode($this->encrypt($text, $key));
      }
code_tokens: public function encryptBase64 ( $ text , $ key = null , $ safe = false ) { if ( $ safe === true ) { return strtr ( base64_encode ( $ this -> encrypt ( $ text , $ key ) ) , '+/' , '-_' ) ; } return base64_encode ( $ this -> encrypt ( $ text , $ key ) ) ; }
docstring: Encrypts a text returning the result as a base64 string
  
  @param mixed      $text
  @param null|mixed $key
  @param mixed      $safe
docstring_tokens: Encrypts a text returning the result as a base64 string