7416a76e55fa769a4d8f619470d332a56ac38f54
[yaffs-website] / vendor / jcalderonzumba / gastonjs / src / Browser / BrowserAuthenticationTrait.php
1 <?php
2
3 namespace Zumba\GastonJS\Browser;
4
5 /**
6  * Trait BrowserAuthenticationTrait
7  * @package Zumba\GastonJS\Browser
8  */
9 trait BrowserAuthenticationTrait {
10   /**
11    * Sets basic HTTP authentication
12    * @param $user
13    * @param $password
14    * @return bool
15    */
16   public function setHttpAuth($user, $password) {
17     return $this->command('set_http_auth', $user, $password);
18   }
19 }