vendor/hwi/oauth-bundle/OAuth/Exception/HttpTransportException.php line 19

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the HWIOAuthBundle package.
  4.  *
  5.  * (c) Hardware Info <opensource@hardware.info>
  6.  *
  7.  * For the full copyright and license information, please view the LICENSE
  8.  * file that was distributed with this source code.
  9.  */
  10. namespace HWI\Bundle\OAuthBundle\OAuth\Exception;
  11. use Symfony\Component\Security\Core\Exception\AuthenticationException;
  12. /**
  13.  * @final since 1.4
  14.  */
  15. class HttpTransportException extends AuthenticationException
  16. {
  17.     private $ownerName;
  18.     public function __construct($message$ownerName$code 0\Exception $previous null)
  19.     {
  20.         parent::__construct($message$code$previous);
  21.         $this->ownerName $ownerName;
  22.     }
  23.     public function getOwnerName()
  24.     {
  25.         return $this->ownerName;
  26.     }
  27. }