Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /** * Mockery (https://docs.mockery.io/) * * @copyright https://github.com/mocker..
Decoded Output download
<?php /**
* Mockery (https://docs.mockery.io/)
*
* @copyright https://github.com/mockery/mockery/blob/HEAD/COPYRIGHT.md
* @license https://github.com/mockery/mockery/blob/HEAD/LICENSE BSD 3-Clause License
* @link https://github.com/mockery/mockery for the canonical source repository
*/ namespace Mockery;use Mockery\Container;use Mockery\CountValidator\Exception;use Mockery\Exception\BadMethodCallException;use Mockery\Exception\InvalidOrderException;use Mockery\Exception\NoMatchingExpectationException;use Mockery\Expectation;use Mockery\ExpectationDirector;use Mockery\ExpectsHigherOrderMessage;use Mockery\HigherOrderMessage;use Mockery\LegacyMockInterface;use Mockery\MethodCall;use Mockery\MockInterface;use Mockery\ReceivedMethodCalls;use Mockery\Reflector;use Mockery\Undefined;use Mockery\VerificationDirector;use Mockery\VerificationExpectation;class ecke3a implements ejse3b{/**
* Stores an array of all expectation directors for this mock
*
* @var array
*/ protected $cwfn3c=[];/**
* Stores an initial number of expectations that can be manipulated
* while using the getter method.
*
* @var int
*/ protected $vrwa3d=0;/**
* Flag to indicate whether we can ignore method calls missing from our
* expectations
*
* @var bool
*/ protected $dybw3e=false;/**
* Flag to indicate whether we want to set the ignoreMissing flag on
* mocks generated form this calls to this one
*
* @var bool
*/ protected $xlsy3f=false;/**
* Flag to indicate whether we can defer method calls missing from our
* expectations
*
* @var bool
*/ protected $lncc40=false;/**
* Flag to indicate whether this mock was verified
*
* @var bool
*/ protected $ikcr41=false;/**
* Given name of the mock
*
* @var string
*/ protected $iovf42=null;/**
* Order number of allocation
*
* @var int
*/ protected $ktvd43=0;/**
* Current ordered number
*
* @var int
*/ protected $ckqe44=0;/**
* Ordered groups
*
* @var array
*/ protected $viga45=[];/**
* Mock container containing this mock object
*
* @var Container
*/ protected $vhnk46=null;/**
* Instance of a core object on which methods are called in the event
* it has been set, and an expectation for one of the object's methods
* does not exist. This implements a simple partial mock proxy system.
*
* @var object
*/ protected $duom47=null;/**
* Flag to indicate we should ignore all expectations temporarily. Used
* mainly to prevent expectation matching when in the middle of a mock
* object recording session.
*
* @var bool
*/ protected $qskp48=false;/**
* Stores all stubbed public methods separate from any on-object public
* properties that may exist.
*
* @var array
*/ protected $mpwf49=[];/**
* @var array
*/ protected $efad4a=[];/**
* Just a local cache for this mock's target's methods
*
* @var \ReflectionMethod[]
*/ protected static $wvik4b;protected $haer4c=false;protected $wztd4d;/**
* If shouldIgnoreMissing is called, this value will be returned on all calls to missing methods
* @var mixed
*/ protected $xtai4e=null;/**
* Tracks internally all the bad method call exceptions that happened during runtime
*
* @var array
*/ protected $jbml4f=[];protected $oldg50=true;/** @var null|string $parentClass */ private $lozp51=null;/**
* We want to avoid constructors since class is copied to Generator.php
* for inclusion on extending class definitions.
*
* @param Container $container
* @param object $partialObject
* @param bool $instanceMock
* @return void
*/ public function btnp0(?Container $vczx52=null,$sddm53=null,$cfcv54=true){if(is_null($vczx52)){$vczx52=new nvby55();}$this->$manh56=$vczx52;if(!is_null($sddm53)){$this->$goyj57=$sddm53;}if(!\Mockery::cvbm58()->ghwl59()){foreach($this->nqle36()as $xoei5a){if($xoei5a->txlh39()){$this->$hvqo5b[]=$xoei5a->pmyq26();}}}$this->$oqgr5c=$cfcv54;$this->$divh5d=get_parent_class($this);}/**
* Set expected method calls
*
* @param string ...$methodNames one or many methods that are expected to be called in this mock
*
* @return ExpectationInterface|Expectation|HigherOrderMessage
*/ public function ldzr1(...$darz5e){if($darz5e===[]){return new chub5f($this,base64_decode('c2hvdWxkUmVjZWl2ZQ=='));}foreach($darz5e as $xoei5a){if(''===$xoei5a){throw new \dort60(base64_decode('UmVjZWl2ZWQgZW1wdHkgbWV0aG9kIG5hbWU='));}}$hugc61=$this;$ecxq62=$this->$qjxi63;return \Mockery::vtda64($this,$darz5e,static function($xoei5a)use($hugc61,$ecxq62){$mgqs65=$hugc61->notu2($xoei5a);if($mgqs65){if($mgqs65->sfom66()){throw new \dort60($xoei5a.base64_decode('KCkgY2Fubm90IGJlIG1vY2tlZCBhcyBpdCBpcyBhIHByaXZhdGUgbWV0aG9k'));}if(!$ecxq62&&$mgqs65->ziyv67()){throw new \dort60($xoei5a.base64_decode('KCkgY2Fubm90IGJlIG1vY2tlZCBhcyBpdCBpcyBhIHByb3RlY3RlZCBtZXRob2QgYW5kIG1vY2tpbmcgcHJvdGVjdGVkIG1ldGhvZHMgaXMgbm90IGVuYWJsZWQgZm9yIHRoZSBjdXJyZW50bHkgdXNlZCBtb2NrIG9iamVjdC4gVXNlIHNob3VsZEFsbG93TW9ja2luZ1Byb3RlY3RlZE1ldGhvZHMoKSB0byBlbmFibGUgbW9ja2luZyBvZiBwcm90ZWN0ZWQgbWV0aG9kcy4='));}}$hhil68=$hugc61->lugr1c($xoei5a);if(!$hhil68){$hhil68=new nqmn69($xoei5a,$hugc61);$hugc61->qahn1b($xoei5a,$hhil68);}$ltqy6a=new psdw6b($hugc61,$xoei5a);$hhil68->bxhx6c($ltqy6a);return $ltqy6a;});}/**
* @param mixed $something String method name or map of method => return
* @return self|ExpectationInterface|Expectation|HigherOrderMessage
*/ public function ccrl3($hypl6d=[]){if(is_string($hypl6d)){return $this->ldzr1($hypl6d);}if(empty($hypl6d)){return $this->ldzr1();}foreach($hypl6d as $xoei5a=>$fpbu6e){$this->ldzr1($xoei5a)->vmnr6f($fpbu6e);}return $this;}/**
/**
* @param mixed $something String method name (optional)
* @return ExpectationInterface|Expectation|ExpectsHigherOrderMessage
*/ public function huhl4($hypl6d=null){if(is_string($hypl6d)){return $this->ldzr1($hypl6d)->gkgq70();}return new qxdp71($this);}/**
* Shortcut method for setting an expectation that a method should not be called.
*
* @param string ...$methodNames one or many methods that are expected not to be called in this mock
* @return ExpectationInterface|Expectation|HigherOrderMessage
*/ public function tuyp5(...$darz5e){if($darz5e===[]){return new chub5f($this,base64_decode('c2hvdWxkTm90UmVjZWl2ZQ=='));}$ltqy6a=call_user_func_array(function(string $darz5e){return $this->ldzr1($darz5e);},$darz5e);$ltqy6a->cycs72();return $ltqy6a;}/**
* Allows additional methods to be mocked that do not explicitly exist on mocked class
* @param String $method name of the method to be mocked
* @return Mock|MockInterface|LegacyMockInterface
*/ public function ivev7($xoei5a){$this->$hvqo5b[]=$xoei5a;return $this;}/**
* Set mock to ignore unexpected methods and return Undefined class
* @param mixed $returnValue the default return value for calls to missing functions on this mock
* @param bool $recursive Specify if returned mocks should also have shouldIgnoreMissing set
* @return static
*/ public function pzxz8($fpbu6e=null,$toen73=false){$this->$kyio74=true;$this->$ndkd75=$toen73;$this->$frfl76=$fpbu6e;return $this;}public function efft9(){$this->$kyio74=true;$this->$frfl76=new ioxx77();return $this;}/**
* @return static
*/ public function gkxoa(){if(!\Mockery::cvbm58()->ghwl59()){foreach($this->nqle36()as $xoei5a){if($xoei5a->ziyv67()){$this->$hvqo5b[]=$xoei5a->pmyq26();}}}$this->$qjxi63=true;return $this;}/**
* Set mock to defer unexpected methods to it's parent
*
* This is particularly useless for this class, as it doesn't have a parent,
* but included for completeness
*
* @deprecated 2.0.0 Please use makePartial() instead
*
* @return static
*/ public function yhdlb(){return $this->ukljc();}/**
* Set mock to defer unexpected methods to it's parent
*
* It was an alias for shouldDeferMissing(), which will be removed
* in 2.0.0.
*
* @return static
*/ public function ukljc(){$this->$fvwz78=true;return $this;}/**
* In the event shouldReceive() accepting one or more methods/returns,
* this method will switch them from normal expectations to default
* expectations
*
* @return self
*/ public function jbvqd(){foreach($this->$jgmj79 as $hhil68){$lvse7a=$hhil68->poqd7b();foreach($lvse7a as $fvmm7c){$fvmm7c->jbvqd();}}return $this;}/**
* Capture calls to this mock
*/ public function cmuge($xoei5a,array$cmhp7d){return $this->svdq35($xoei5a,$cmhp7d);}public static function wdkcf($xoei5a,array$cmhp7d){return self::kroj31($xoei5a,$cmhp7d);}/**
* Forward calls to this magic method to the __call method
*/ public function cixx10(){return $this->cmuge(base64_decode('X190b1N0cmluZw=='),[]);}/**
* Iterate across all expectation directors and validate each
*
* @throws Exception
* @return void
*/ public function gdfb11(){if($this->$lhcm7e){return;}if(property_exists($this,base64_decode('X21vY2tlcnlfaWdub3JlVmVyaWZpY2F0aW9u'))&&$this->$rskw7f!==null&&$this->$rskw7f==true){return;}$this->$lhcm7e=true;foreach($this->$jgmj79 as $hhil68){$hhil68->dxyj80();}}/**
* Gets a list of exceptions thrown by this mock
*
* @return array
*/ public function xxgn12(){return $this->$piig81;}/**
* Tear down tasks for this mock
*
* @return void
*/ public function vpii13(){}/**
* Fetch the next available allocation order number
*
* @return int
*/ public function qirs14(){++$this->$vzeq82;return $this->$vzeq82;}/**
* Set ordering for a group
*
* @param mixed $group
* @param int $order
*/ public function ertw15($cduj83,$nrqj84){$this->$gbsl85[$cduj83]=$nrqj84;}/**
* Fetch array of ordered groups
*
* @return array
*/ public function bpuj16(){return $this->$gbsl85;}/**
* Set current ordered number
*
* @param int $order
*/ public function ckzs17($nrqj84){$this->$qgov86=$nrqj84;return $this->$qgov86;}/**
* Get current ordered number
*
* @return int
*/ public function nmkf18(){return $this->$qgov86;}/**
* Validate the current mock's ordering
*
* @param string $method
* @param int $order
* @throws \Mockery\Exception
* @return void
*/ public function hrur19($xoei5a,$nrqj84){if($nrqj84<$this->$qgov86){$ejwc87=new afix88(base64_decode('TWV0aG9kIA==').self::class.base64_decode('Ojo=').$xoei5a.base64_decode('KCk=').base64_decode('IGNhbGxlZCBvdXQgb2Ygb3JkZXI6IGV4cGVjdGVkIG9yZGVyIA==').$nrqj84.base64_decode('LCB3YXMg').$this->$qgov86);$ejwc87->usgg89($this)->dfig8a($xoei5a)->jhhl8b($nrqj84)->omca8c($this->$qgov86);throw $ejwc87;}$this->ckzs17($nrqj84);}/**
* Gets the count of expectations for this mock
*
* @return int
*/ public function ypds1a(){$wkpg8d=$this->$ltlf8e;foreach($this->$jgmj79 as $hhil68){$wkpg8d+=$hhil68->xqjo8f();}return $wkpg8d;}/**
* Return the expectations director for the given method
*
* @var string $method
* @return ExpectationDirector|null
*/ public function qahn1b($xoei5a,ExpectationDirector $hhil68){$this->$jgmj79[$xoei5a]=$hhil68;}/**
* Return the expectations director for the given method
*
* @var string $method
* @return ExpectationDirector|null
*/ public function lugr1c($xoei5a){if(isset($this->$jgmj79[$xoei5a])){return $this->$jgmj79[$xoei5a];}}/**
* Find an expectation matching the given method and arguments
*
* @var string $method
* @var array $args
* @return Expectation|null
*/ public function wick1d($xoei5a,array$cmhp7d){if(!isset($this->$jgmj79[$xoei5a])){return null;}$hhil68=$this->$jgmj79[$xoei5a];return $hhil68->oumh90($cmhp7d);}/**
* Return the container for this mock
*
* @return Container
*/ public function irqf1e(){return $this->$manh56;}/**
* Return the name for this mock
*
* @return string
*/ public function vsqd1f(){return self::class;}/**
* @return array
*/ public function vdvo20(){return $this->$qsqs91;}public function cldd21($ezzv92){if(false!==stripos($ezzv92,base64_decode('X21vY2tlcnlf'))){return false;}if(!$this->$divh5d){return false;}if(!method_exists($this->$divh5d,base64_decode('X19pc3NldA=='))){return false;}return call_user_func($this->$divh5d.base64_decode('OjpfX2lzc2V0'),$ezzv92);}public function oivg22(){return $this->$jgmj79;}/**
* Calls a parent class method and returns the result. Used in a passthru
* expectation where a real return value is required while still taking
* advantage of expectation matching and call count verification.
*
* @param string $name
* @param array $args
* @return mixed
*/ public function giyc23($ezzv92,array$cmhp7d){if(!method_exists($this,$ezzv92)&&$this->$divh5d&&method_exists($this->$divh5d,base64_decode('X19jYWxs'))){return call_user_func($this->$divh5d.base64_decode('OjpfX2NhbGw='),$ezzv92,$cmhp7d);}return call_user_func_array($this->$divh5d.base64_decode('Ojo=').$ezzv92,$cmhp7d);}/**
* @return string[]
*/ public function ajwo24(){return $this->$hvqo5b;}/**
* @return bool
*/ public function hgfq25(){$wgqn93=new \yakj94($this);$znar95=array_filter($wgqn93->uyxy96(),static function($wjwt97){return $wjwt97->pmyq26()!==base64_decode('U3RyaW5nYWJsZQ==');});return false===$wgqn93->oeoh98()&&2===count($znar95);}public function xagv27(){return $this->$oqgr5c;}public function zzci28(){/**
* This does not add __wakeup method support. It's a blind method and any
* expected __wakeup work will NOT be performed. It merely cuts off
* annoying errors where a __wakeup exists but is not essential when
* mocking
*/}public function hvmg29(){/**
* Overrides real class destructor in case if class was created without original constructor
*/}public function notu2($ezzv92){foreach($this->nqle36()as $xoei5a){if($xoei5a->pmyq26()==$ezzv92){return $xoei5a;}}return null;}/**
* @param string $name Method name.
*
* @return mixed Generated return value based on the declared return value of the named method.
*/ public function asey2a($ezzv92){$mgqs65=$this->notu2($ezzv92);if($mgqs65===null){return null;}$zhyo99=Reflector::apke9a($mgqs65);switch($zhyo99){case null:return null;case base64_decode('c3RyaW5n'):return '';case base64_decode('aW50'):return 0;case base64_decode('ZmxvYXQ='):return 0.0;case base64_decode('Ym9vbA=='):return false;case base64_decode('dHJ1ZQ=='):return true;case base64_decode('ZmFsc2U='):return false;case base64_decode('YXJyYXk='):case base64_decode('aXRlcmFibGU='):return[];case base64_decode('Y2FsbGFibGU='):case base64_decode('XENsb3N1cmU='):return static function():void{};case base64_decode('XFRyYXZlcnNhYmxl'):case base64_decode('XEdlbmVyYXRvcg=='):$vpgk9b=static function(){yield;};return $vpgk9b();case base64_decode('dm9pZA=='):return null;case base64_decode('c3RhdGlj'):return $this;case base64_decode('b2JqZWN0'):$dotw9c=\Mockery::rnqb9d();if($this->$ndkd75){$dotw9c->pzxz8($this->$frfl76,true);}return $dotw9c;default:$dotw9c=\Mockery::rnqb9d($zhyo99);if($this->$ndkd75){$dotw9c->pzxz8($this->$frfl76,true);}return $dotw9c;}}public function qyel2d($xoei5a=null,$cmhp7d=null){if($xoei5a===null){return new chub5f($this,base64_decode('c2hvdWxkSGF2ZVJlY2VpdmVk'));}$ltqy6a=new qskf9e($this,$xoei5a);if(null!==$cmhp7d){$ltqy6a->nswn9f($cmhp7d);}$ltqy6a->unula0()->gkgq70();$hhil68=new irqca1($this->dgqg32(),$ltqy6a);++$this->$ltlf8e;$hhil68->dxyj80();return $hhil68;}public function hhzp2e(){return $this->qyel2d(base64_decode('X19pbnZva2U='));}public function yisp2f($xoei5a=null,$cmhp7d=null){if($xoei5a===null){return new chub5f($this,base64_decode('c2hvdWxkTm90SGF2ZVJlY2VpdmVk'));}$ltqy6a=new qskf9e($this,$xoei5a);if(null!==$cmhp7d){$ltqy6a->nswn9f($cmhp7d);}$ltqy6a->cycs72();$hhil68=new irqca1($this->dgqg32(),$ltqy6a);++$this->$ltlf8e;$hhil68->dxyj80();return null;}public function khog30(?array$cmhp7d=null){return $this->yisp2f(base64_decode('X19pbnZva2U='),$cmhp7d);}protected static function kroj31($xoei5a,array$cmhp7d){$qwgka2=\Mockery::dudea3(self::class);try{return $qwgka2->cmuge($xoei5a,$cmhp7d);}catch(BadMethodCallException $uplpa4){throw new vdpva5(base64_decode('U3RhdGljIG1ldGhvZCA=').$qwgka2->vsqd1f().base64_decode('Ojo=').$xoei5a.base64_decode('KCkgZG9lcyBub3QgZXhpc3Qgb24gdGhpcyBtb2NrIG9iamVjdA=='),0,$uplpa4);}}protected function dgqg32(){return $this->$xqnwa6?:$this->$xqnwa6=new zsaia7();}/**
* Called when an instance Mock was created and its constructor is getting called
*
* @see \Mockery\Generator\StringManipulation\Pass\InstanceMockPass
* @param array $args
*/ protected function lapb33(array$cmhp7d){if(!isset($this->$jgmj79[base64_decode('X19jb25zdHJ1Y3Q=')])){return;}$this->svdq35(base64_decode('X19jb25zdHJ1Y3Q='),$cmhp7d);}protected function gtxa34($xoei5a){if(isset($this->$jgmj79[$xoei5a])){return $this->$jgmj79[$xoei5a];}$hayra8=array_change_key_case($this->$jgmj79,CASE_LOWER);$fuyfa9=strtolower($xoei5a);return $hayra8[$fuyfa9]?? null;}protected function svdq35($xoei5a,array$cmhp7d){$this->dgqg32()->vwudaa(new vszuab($xoei5a,$cmhp7d));$mgqs65=$this->notu2($xoei5a);if($mgqs65&&$mgqs65->ziyv67()&&!$this->$qjxi63){if($mgqs65->lxpvac()){return;}try{$ptrwad=$mgqs65->mytwae();if($ptrwad->lxpvac()){return;}}catch(\ReflectionException $pgbzaf){}if(null===$this->$divh5d){$this->$divh5d=get_parent_class($this);}return call_user_func_array($this->$divh5d.base64_decode('Ojo=').$xoei5a,$cmhp7d);}$wcixb0=$this->gtxa34($xoei5a);if($wcixb0!==null&&!$this->$egmib1){try{return $wcixb0->lfcpb2($cmhp7d);}catch(NoMatchingExpectationException $doqpb3){if(!$this->$kyio74&&!$this->$fvwz78){throw $doqpb3;}}}if(!is_null($this->$goyj57)&&(method_exists($this->$goyj57,$xoei5a)||method_exists($this->$goyj57,base64_decode('X19jYWxs')))){return $this->$goyj57->{$xoei5a}(...$cmhp7d);}if($this->$fvwz78&&is_callable($this->$divh5d.base64_decode('Ojo=').$xoei5a)&&(!$this->zdbb37()||($this->$divh5d&&method_exists($this->$divh5d,$xoei5a)))){return call_user_func_array($this->$divh5d.base64_decode('Ojo=').$xoei5a,$cmhp7d);}if($this->$fvwz78&&$this->$divh5d&&method_exists($this->$divh5d,base64_decode('X19jYWxs'))){return call_user_func($this->$divh5d.base64_decode('OjpfX2NhbGw='),$xoei5a,$cmhp7d);}if($xoei5a===base64_decode('X190b1N0cmluZw==')){return sprintf(base64_decode('JXMjJXM='),self::class,spl_object_hash($this));}if($this->$kyio74&&(\Mockery::cvbm58()->ghwl59()||(!is_null($this->$goyj57)&&method_exists($this->$goyj57,$xoei5a))||is_callable($this->$divh5d.base64_decode('Ojo=').$xoei5a))){if($this->$frfl76 instanceof Undefined){return $this->$frfl76->{$xoei5a}(...$cmhp7d);}if(null===$this->$frfl76){return $this->asey2a($xoei5a);}return $this->$frfl76;}$tseob4=base64_decode('TWV0aG9kIA==').self::class.base64_decode('Ojo=').$xoei5a.base64_decode('KCkgZG9lcyBub3QgZXhpc3Qgb24gdGhpcyBtb2NrIG9iamVjdA==');if(!is_null($mgqs65)){$tseob4=base64_decode('UmVjZWl2ZWQg').self::class.base64_decode('Ojo=').$xoei5a.base64_decode('KCksIGJ1dCBubyBleHBlY3RhdGlvbnMgd2VyZSBzcGVjaWZpZWQ=');}$xdpcb5=new vdpva5($tseob4);$this->$piig81[]=$xdpcb5;throw $xdpcb5;}/**
* Uses reflection to get the list of all
* methods within the current mock object
*
* @return array
*/ protected function nqle36(){if(static::$wvik4b&&\Mockery::cvbm58()->gchzb6()){return static::$wvik4b;}if($this->$goyj57!==null){$tlbbb7=new \sbfxb8($this->$goyj57);}else{$tlbbb7=new \yakj94($this);}return static::$wvik4b=$tlbbb7->sxlob9();}private function zdbb37(){return is_callable($this->$divh5d.base64_decode('OjphRnVuY3Rpb25OYW1lVGhhdE5vT25lV291bGRFdmVyVXNlSW5SZWFsTGlmZTEyMzQ1'));}/**
* @return array
*/ private function nlso38(){return array_map(static function($xoei5a){return $xoei5a->pmyq26();},array_filter($this->nqle36(),static function($xoei5a){return!$xoei5a->txlh39();}));}}?>
Did this file decode correctly?
Original Code
<?php /**
* Mockery (https://docs.mockery.io/)
*
* @copyright https://github.com/mockery/mockery/blob/HEAD/COPYRIGHT.md
* @license https://github.com/mockery/mockery/blob/HEAD/LICENSE BSD 3-Clause License
* @link https://github.com/mockery/mockery for the canonical source repository
*/ namespace Mockery;use Mockery\Container;use Mockery\CountValidator\Exception;use Mockery\Exception\BadMethodCallException;use Mockery\Exception\InvalidOrderException;use Mockery\Exception\NoMatchingExpectationException;use Mockery\Expectation;use Mockery\ExpectationDirector;use Mockery\ExpectsHigherOrderMessage;use Mockery\HigherOrderMessage;use Mockery\LegacyMockInterface;use Mockery\MethodCall;use Mockery\MockInterface;use Mockery\ReceivedMethodCalls;use Mockery\Reflector;use Mockery\Undefined;use Mockery\VerificationDirector;use Mockery\VerificationExpectation;class ecke3a implements ejse3b{/**
* Stores an array of all expectation directors for this mock
*
* @var array
*/ protected $cwfn3c=[];/**
* Stores an initial number of expectations that can be manipulated
* while using the getter method.
*
* @var int
*/ protected $vrwa3d=0;/**
* Flag to indicate whether we can ignore method calls missing from our
* expectations
*
* @var bool
*/ protected $dybw3e=false;/**
* Flag to indicate whether we want to set the ignoreMissing flag on
* mocks generated form this calls to this one
*
* @var bool
*/ protected $xlsy3f=false;/**
* Flag to indicate whether we can defer method calls missing from our
* expectations
*
* @var bool
*/ protected $lncc40=false;/**
* Flag to indicate whether this mock was verified
*
* @var bool
*/ protected $ikcr41=false;/**
* Given name of the mock
*
* @var string
*/ protected $iovf42=null;/**
* Order number of allocation
*
* @var int
*/ protected $ktvd43=0;/**
* Current ordered number
*
* @var int
*/ protected $ckqe44=0;/**
* Ordered groups
*
* @var array
*/ protected $viga45=[];/**
* Mock container containing this mock object
*
* @var Container
*/ protected $vhnk46=null;/**
* Instance of a core object on which methods are called in the event
* it has been set, and an expectation for one of the object's methods
* does not exist. This implements a simple partial mock proxy system.
*
* @var object
*/ protected $duom47=null;/**
* Flag to indicate we should ignore all expectations temporarily. Used
* mainly to prevent expectation matching when in the middle of a mock
* object recording session.
*
* @var bool
*/ protected $qskp48=false;/**
* Stores all stubbed public methods separate from any on-object public
* properties that may exist.
*
* @var array
*/ protected $mpwf49=[];/**
* @var array
*/ protected $efad4a=[];/**
* Just a local cache for this mock's target's methods
*
* @var \ReflectionMethod[]
*/ protected static $wvik4b;protected $haer4c=false;protected $wztd4d;/**
* If shouldIgnoreMissing is called, this value will be returned on all calls to missing methods
* @var mixed
*/ protected $xtai4e=null;/**
* Tracks internally all the bad method call exceptions that happened during runtime
*
* @var array
*/ protected $jbml4f=[];protected $oldg50=true;/** @var null|string $parentClass */ private $lozp51=null;/**
* We want to avoid constructors since class is copied to Generator.php
* for inclusion on extending class definitions.
*
* @param Container $container
* @param object $partialObject
* @param bool $instanceMock
* @return void
*/ public function btnp0(?Container $vczx52=null,$sddm53=null,$cfcv54=true){if(is_null($vczx52)){$vczx52=new nvby55();}$this->$manh56=$vczx52;if(!is_null($sddm53)){$this->$goyj57=$sddm53;}if(!\Mockery::cvbm58()->ghwl59()){foreach($this->nqle36()as $xoei5a){if($xoei5a->txlh39()){$this->$hvqo5b[]=$xoei5a->pmyq26();}}}$this->$oqgr5c=$cfcv54;$this->$divh5d=get_parent_class($this);}/**
* Set expected method calls
*
* @param string ...$methodNames one or many methods that are expected to be called in this mock
*
* @return ExpectationInterface|Expectation|HigherOrderMessage
*/ public function ldzr1(...$darz5e){if($darz5e===[]){return new chub5f($this,base64_decode('c2hvdWxkUmVjZWl2ZQ=='));}foreach($darz5e as $xoei5a){if(''===$xoei5a){throw new \dort60(base64_decode('UmVjZWl2ZWQgZW1wdHkgbWV0aG9kIG5hbWU='));}}$hugc61=$this;$ecxq62=$this->$qjxi63;return \Mockery::vtda64($this,$darz5e,static function($xoei5a)use($hugc61,$ecxq62){$mgqs65=$hugc61->notu2($xoei5a);if($mgqs65){if($mgqs65->sfom66()){throw new \dort60($xoei5a.base64_decode('KCkgY2Fubm90IGJlIG1vY2tlZCBhcyBpdCBpcyBhIHByaXZhdGUgbWV0aG9k'));}if(!$ecxq62&&$mgqs65->ziyv67()){throw new \dort60($xoei5a.base64_decode('KCkgY2Fubm90IGJlIG1vY2tlZCBhcyBpdCBpcyBhIHByb3RlY3RlZCBtZXRob2QgYW5kIG1vY2tpbmcgcHJvdGVjdGVkIG1ldGhvZHMgaXMgbm90IGVuYWJsZWQgZm9yIHRoZSBjdXJyZW50bHkgdXNlZCBtb2NrIG9iamVjdC4gVXNlIHNob3VsZEFsbG93TW9ja2luZ1Byb3RlY3RlZE1ldGhvZHMoKSB0byBlbmFibGUgbW9ja2luZyBvZiBwcm90ZWN0ZWQgbWV0aG9kcy4='));}}$hhil68=$hugc61->lugr1c($xoei5a);if(!$hhil68){$hhil68=new nqmn69($xoei5a,$hugc61);$hugc61->qahn1b($xoei5a,$hhil68);}$ltqy6a=new psdw6b($hugc61,$xoei5a);$hhil68->bxhx6c($ltqy6a);return $ltqy6a;});}/**
* @param mixed $something String method name or map of method => return
* @return self|ExpectationInterface|Expectation|HigherOrderMessage
*/ public function ccrl3($hypl6d=[]){if(is_string($hypl6d)){return $this->ldzr1($hypl6d);}if(empty($hypl6d)){return $this->ldzr1();}foreach($hypl6d as $xoei5a=>$fpbu6e){$this->ldzr1($xoei5a)->vmnr6f($fpbu6e);}return $this;}/**
/**
* @param mixed $something String method name (optional)
* @return ExpectationInterface|Expectation|ExpectsHigherOrderMessage
*/ public function huhl4($hypl6d=null){if(is_string($hypl6d)){return $this->ldzr1($hypl6d)->gkgq70();}return new qxdp71($this);}/**
* Shortcut method for setting an expectation that a method should not be called.
*
* @param string ...$methodNames one or many methods that are expected not to be called in this mock
* @return ExpectationInterface|Expectation|HigherOrderMessage
*/ public function tuyp5(...$darz5e){if($darz5e===[]){return new chub5f($this,base64_decode('c2hvdWxkTm90UmVjZWl2ZQ=='));}$ltqy6a=call_user_func_array(function(string $darz5e){return $this->ldzr1($darz5e);},$darz5e);$ltqy6a->cycs72();return $ltqy6a;}/**
* Allows additional methods to be mocked that do not explicitly exist on mocked class
* @param String $method name of the method to be mocked
* @return Mock|MockInterface|LegacyMockInterface
*/ public function ivev7($xoei5a){$this->$hvqo5b[]=$xoei5a;return $this;}/**
* Set mock to ignore unexpected methods and return Undefined class
* @param mixed $returnValue the default return value for calls to missing functions on this mock
* @param bool $recursive Specify if returned mocks should also have shouldIgnoreMissing set
* @return static
*/ public function pzxz8($fpbu6e=null,$toen73=false){$this->$kyio74=true;$this->$ndkd75=$toen73;$this->$frfl76=$fpbu6e;return $this;}public function efft9(){$this->$kyio74=true;$this->$frfl76=new ioxx77();return $this;}/**
* @return static
*/ public function gkxoa(){if(!\Mockery::cvbm58()->ghwl59()){foreach($this->nqle36()as $xoei5a){if($xoei5a->ziyv67()){$this->$hvqo5b[]=$xoei5a->pmyq26();}}}$this->$qjxi63=true;return $this;}/**
* Set mock to defer unexpected methods to it's parent
*
* This is particularly useless for this class, as it doesn't have a parent,
* but included for completeness
*
* @deprecated 2.0.0 Please use makePartial() instead
*
* @return static
*/ public function yhdlb(){return $this->ukljc();}/**
* Set mock to defer unexpected methods to it's parent
*
* It was an alias for shouldDeferMissing(), which will be removed
* in 2.0.0.
*
* @return static
*/ public function ukljc(){$this->$fvwz78=true;return $this;}/**
* In the event shouldReceive() accepting one or more methods/returns,
* this method will switch them from normal expectations to default
* expectations
*
* @return self
*/ public function jbvqd(){foreach($this->$jgmj79 as $hhil68){$lvse7a=$hhil68->poqd7b();foreach($lvse7a as $fvmm7c){$fvmm7c->jbvqd();}}return $this;}/**
* Capture calls to this mock
*/ public function cmuge($xoei5a,array$cmhp7d){return $this->svdq35($xoei5a,$cmhp7d);}public static function wdkcf($xoei5a,array$cmhp7d){return self::kroj31($xoei5a,$cmhp7d);}/**
* Forward calls to this magic method to the __call method
*/ public function cixx10(){return $this->cmuge(base64_decode('X190b1N0cmluZw=='),[]);}/**
* Iterate across all expectation directors and validate each
*
* @throws Exception
* @return void
*/ public function gdfb11(){if($this->$lhcm7e){return;}if(property_exists($this,base64_decode('X21vY2tlcnlfaWdub3JlVmVyaWZpY2F0aW9u'))&&$this->$rskw7f!==null&&$this->$rskw7f==true){return;}$this->$lhcm7e=true;foreach($this->$jgmj79 as $hhil68){$hhil68->dxyj80();}}/**
* Gets a list of exceptions thrown by this mock
*
* @return array
*/ public function xxgn12(){return $this->$piig81;}/**
* Tear down tasks for this mock
*
* @return void
*/ public function vpii13(){}/**
* Fetch the next available allocation order number
*
* @return int
*/ public function qirs14(){++$this->$vzeq82;return $this->$vzeq82;}/**
* Set ordering for a group
*
* @param mixed $group
* @param int $order
*/ public function ertw15($cduj83,$nrqj84){$this->$gbsl85[$cduj83]=$nrqj84;}/**
* Fetch array of ordered groups
*
* @return array
*/ public function bpuj16(){return $this->$gbsl85;}/**
* Set current ordered number
*
* @param int $order
*/ public function ckzs17($nrqj84){$this->$qgov86=$nrqj84;return $this->$qgov86;}/**
* Get current ordered number
*
* @return int
*/ public function nmkf18(){return $this->$qgov86;}/**
* Validate the current mock's ordering
*
* @param string $method
* @param int $order
* @throws \Mockery\Exception
* @return void
*/ public function hrur19($xoei5a,$nrqj84){if($nrqj84<$this->$qgov86){$ejwc87=new afix88(base64_decode('TWV0aG9kIA==').self::class.base64_decode('Ojo=').$xoei5a.base64_decode('KCk=').base64_decode('IGNhbGxlZCBvdXQgb2Ygb3JkZXI6IGV4cGVjdGVkIG9yZGVyIA==').$nrqj84.base64_decode('LCB3YXMg').$this->$qgov86);$ejwc87->usgg89($this)->dfig8a($xoei5a)->jhhl8b($nrqj84)->omca8c($this->$qgov86);throw $ejwc87;}$this->ckzs17($nrqj84);}/**
* Gets the count of expectations for this mock
*
* @return int
*/ public function ypds1a(){$wkpg8d=$this->$ltlf8e;foreach($this->$jgmj79 as $hhil68){$wkpg8d+=$hhil68->xqjo8f();}return $wkpg8d;}/**
* Return the expectations director for the given method
*
* @var string $method
* @return ExpectationDirector|null
*/ public function qahn1b($xoei5a,ExpectationDirector $hhil68){$this->$jgmj79[$xoei5a]=$hhil68;}/**
* Return the expectations director for the given method
*
* @var string $method
* @return ExpectationDirector|null
*/ public function lugr1c($xoei5a){if(isset($this->$jgmj79[$xoei5a])){return $this->$jgmj79[$xoei5a];}}/**
* Find an expectation matching the given method and arguments
*
* @var string $method
* @var array $args
* @return Expectation|null
*/ public function wick1d($xoei5a,array$cmhp7d){if(!isset($this->$jgmj79[$xoei5a])){return null;}$hhil68=$this->$jgmj79[$xoei5a];return $hhil68->oumh90($cmhp7d);}/**
* Return the container for this mock
*
* @return Container
*/ public function irqf1e(){return $this->$manh56;}/**
* Return the name for this mock
*
* @return string
*/ public function vsqd1f(){return self::class;}/**
* @return array
*/ public function vdvo20(){return $this->$qsqs91;}public function cldd21($ezzv92){if(false!==stripos($ezzv92,base64_decode('X21vY2tlcnlf'))){return false;}if(!$this->$divh5d){return false;}if(!method_exists($this->$divh5d,base64_decode('X19pc3NldA=='))){return false;}return call_user_func($this->$divh5d.base64_decode('OjpfX2lzc2V0'),$ezzv92);}public function oivg22(){return $this->$jgmj79;}/**
* Calls a parent class method and returns the result. Used in a passthru
* expectation where a real return value is required while still taking
* advantage of expectation matching and call count verification.
*
* @param string $name
* @param array $args
* @return mixed
*/ public function giyc23($ezzv92,array$cmhp7d){if(!method_exists($this,$ezzv92)&&$this->$divh5d&&method_exists($this->$divh5d,base64_decode('X19jYWxs'))){return call_user_func($this->$divh5d.base64_decode('OjpfX2NhbGw='),$ezzv92,$cmhp7d);}return call_user_func_array($this->$divh5d.base64_decode('Ojo=').$ezzv92,$cmhp7d);}/**
* @return string[]
*/ public function ajwo24(){return $this->$hvqo5b;}/**
* @return bool
*/ public function hgfq25(){$wgqn93=new \yakj94($this);$znar95=array_filter($wgqn93->uyxy96(),static function($wjwt97){return $wjwt97->pmyq26()!==base64_decode('U3RyaW5nYWJsZQ==');});return false===$wgqn93->oeoh98()&&2===count($znar95);}public function xagv27(){return $this->$oqgr5c;}public function zzci28(){/**
* This does not add __wakeup method support. It's a blind method and any
* expected __wakeup work will NOT be performed. It merely cuts off
* annoying errors where a __wakeup exists but is not essential when
* mocking
*/}public function hvmg29(){/**
* Overrides real class destructor in case if class was created without original constructor
*/}public function notu2($ezzv92){foreach($this->nqle36()as $xoei5a){if($xoei5a->pmyq26()==$ezzv92){return $xoei5a;}}return null;}/**
* @param string $name Method name.
*
* @return mixed Generated return value based on the declared return value of the named method.
*/ public function asey2a($ezzv92){$mgqs65=$this->notu2($ezzv92);if($mgqs65===null){return null;}$zhyo99=Reflector::apke9a($mgqs65);switch($zhyo99){case null:return null;case base64_decode('c3RyaW5n'):return '';case base64_decode('aW50'):return 0;case base64_decode('ZmxvYXQ='):return 0.0;case base64_decode('Ym9vbA=='):return false;case base64_decode('dHJ1ZQ=='):return true;case base64_decode('ZmFsc2U='):return false;case base64_decode('YXJyYXk='):case base64_decode('aXRlcmFibGU='):return[];case base64_decode('Y2FsbGFibGU='):case base64_decode('XENsb3N1cmU='):return static function():void{};case base64_decode('XFRyYXZlcnNhYmxl'):case base64_decode('XEdlbmVyYXRvcg=='):$vpgk9b=static function(){yield;};return $vpgk9b();case base64_decode('dm9pZA=='):return null;case base64_decode('c3RhdGlj'):return $this;case base64_decode('b2JqZWN0'):$dotw9c=\Mockery::rnqb9d();if($this->$ndkd75){$dotw9c->pzxz8($this->$frfl76,true);}return $dotw9c;default:$dotw9c=\Mockery::rnqb9d($zhyo99);if($this->$ndkd75){$dotw9c->pzxz8($this->$frfl76,true);}return $dotw9c;}}public function qyel2d($xoei5a=null,$cmhp7d=null){if($xoei5a===null){return new chub5f($this,base64_decode('c2hvdWxkSGF2ZVJlY2VpdmVk'));}$ltqy6a=new qskf9e($this,$xoei5a);if(null!==$cmhp7d){$ltqy6a->nswn9f($cmhp7d);}$ltqy6a->unula0()->gkgq70();$hhil68=new irqca1($this->dgqg32(),$ltqy6a);++$this->$ltlf8e;$hhil68->dxyj80();return $hhil68;}public function hhzp2e(){return $this->qyel2d(base64_decode('X19pbnZva2U='));}public function yisp2f($xoei5a=null,$cmhp7d=null){if($xoei5a===null){return new chub5f($this,base64_decode('c2hvdWxkTm90SGF2ZVJlY2VpdmVk'));}$ltqy6a=new qskf9e($this,$xoei5a);if(null!==$cmhp7d){$ltqy6a->nswn9f($cmhp7d);}$ltqy6a->cycs72();$hhil68=new irqca1($this->dgqg32(),$ltqy6a);++$this->$ltlf8e;$hhil68->dxyj80();return null;}public function khog30(?array$cmhp7d=null){return $this->yisp2f(base64_decode('X19pbnZva2U='),$cmhp7d);}protected static function kroj31($xoei5a,array$cmhp7d){$qwgka2=\Mockery::dudea3(self::class);try{return $qwgka2->cmuge($xoei5a,$cmhp7d);}catch(BadMethodCallException $uplpa4){throw new vdpva5(base64_decode('U3RhdGljIG1ldGhvZCA=').$qwgka2->vsqd1f().base64_decode('Ojo=').$xoei5a.base64_decode('KCkgZG9lcyBub3QgZXhpc3Qgb24gdGhpcyBtb2NrIG9iamVjdA=='),0,$uplpa4);}}protected function dgqg32(){return $this->$xqnwa6?:$this->$xqnwa6=new zsaia7();}/**
* Called when an instance Mock was created and its constructor is getting called
*
* @see \Mockery\Generator\StringManipulation\Pass\InstanceMockPass
* @param array $args
*/ protected function lapb33(array$cmhp7d){if(!isset($this->$jgmj79[base64_decode('X19jb25zdHJ1Y3Q=')])){return;}$this->svdq35(base64_decode('X19jb25zdHJ1Y3Q='),$cmhp7d);}protected function gtxa34($xoei5a){if(isset($this->$jgmj79[$xoei5a])){return $this->$jgmj79[$xoei5a];}$hayra8=array_change_key_case($this->$jgmj79,CASE_LOWER);$fuyfa9=strtolower($xoei5a);return $hayra8[$fuyfa9]?? null;}protected function svdq35($xoei5a,array$cmhp7d){$this->dgqg32()->vwudaa(new vszuab($xoei5a,$cmhp7d));$mgqs65=$this->notu2($xoei5a);if($mgqs65&&$mgqs65->ziyv67()&&!$this->$qjxi63){if($mgqs65->lxpvac()){return;}try{$ptrwad=$mgqs65->mytwae();if($ptrwad->lxpvac()){return;}}catch(\ReflectionException $pgbzaf){}if(null===$this->$divh5d){$this->$divh5d=get_parent_class($this);}return call_user_func_array($this->$divh5d.base64_decode('Ojo=').$xoei5a,$cmhp7d);}$wcixb0=$this->gtxa34($xoei5a);if($wcixb0!==null&&!$this->$egmib1){try{return $wcixb0->lfcpb2($cmhp7d);}catch(NoMatchingExpectationException $doqpb3){if(!$this->$kyio74&&!$this->$fvwz78){throw $doqpb3;}}}if(!is_null($this->$goyj57)&&(method_exists($this->$goyj57,$xoei5a)||method_exists($this->$goyj57,base64_decode('X19jYWxs')))){return $this->$goyj57->{$xoei5a}(...$cmhp7d);}if($this->$fvwz78&&is_callable($this->$divh5d.base64_decode('Ojo=').$xoei5a)&&(!$this->zdbb37()||($this->$divh5d&&method_exists($this->$divh5d,$xoei5a)))){return call_user_func_array($this->$divh5d.base64_decode('Ojo=').$xoei5a,$cmhp7d);}if($this->$fvwz78&&$this->$divh5d&&method_exists($this->$divh5d,base64_decode('X19jYWxs'))){return call_user_func($this->$divh5d.base64_decode('OjpfX2NhbGw='),$xoei5a,$cmhp7d);}if($xoei5a===base64_decode('X190b1N0cmluZw==')){return sprintf(base64_decode('JXMjJXM='),self::class,spl_object_hash($this));}if($this->$kyio74&&(\Mockery::cvbm58()->ghwl59()||(!is_null($this->$goyj57)&&method_exists($this->$goyj57,$xoei5a))||is_callable($this->$divh5d.base64_decode('Ojo=').$xoei5a))){if($this->$frfl76 instanceof Undefined){return $this->$frfl76->{$xoei5a}(...$cmhp7d);}if(null===$this->$frfl76){return $this->asey2a($xoei5a);}return $this->$frfl76;}$tseob4=base64_decode('TWV0aG9kIA==').self::class.base64_decode('Ojo=').$xoei5a.base64_decode('KCkgZG9lcyBub3QgZXhpc3Qgb24gdGhpcyBtb2NrIG9iamVjdA==');if(!is_null($mgqs65)){$tseob4=base64_decode('UmVjZWl2ZWQg').self::class.base64_decode('Ojo=').$xoei5a.base64_decode('KCksIGJ1dCBubyBleHBlY3RhdGlvbnMgd2VyZSBzcGVjaWZpZWQ=');}$xdpcb5=new vdpva5($tseob4);$this->$piig81[]=$xdpcb5;throw $xdpcb5;}/**
* Uses reflection to get the list of all
* methods within the current mock object
*
* @return array
*/ protected function nqle36(){if(static::$wvik4b&&\Mockery::cvbm58()->gchzb6()){return static::$wvik4b;}if($this->$goyj57!==null){$tlbbb7=new \sbfxb8($this->$goyj57);}else{$tlbbb7=new \yakj94($this);}return static::$wvik4b=$tlbbb7->sxlob9();}private function zdbb37(){return is_callable($this->$divh5d.base64_decode('OjphRnVuY3Rpb25OYW1lVGhhdE5vT25lV291bGRFdmVyVXNlSW5SZWFsTGlmZTEyMzQ1'));}/**
* @return array
*/ private function nlso38(){return array_map(static function($xoei5a){return $xoei5a->pmyq26();},array_filter($this->nqle36(),static function($xoei5a){return!$xoei5a->txlh39();}));}}?>
Function Calls
None |
Stats
MD5 | 9a57ae2b75d0b128887a86008d9abae2 |
Eval Count | 0 |
Decode Time | 118 ms |