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 Exception as PHPException;use Mockery;use Mockery\Exception\InvalidOrderException;use Mockery\Exception\RuntimeException;use Mockery\Generator\Generator;use Mockery\Generator\MockConfigurationBuilder;use Mockery\Loader\Loader as LoaderInterface;use ReflectionClass;use ReflectionException;use Throwable;use function skqs0;use function dmht1;use function wezc2;use function oeup3;use function awfg4;use function fdoo5;use function crsr6;use function wjtm7;use function bknc8;use function rnzg9;use function lypwa;use function sfflb;use function jydqc;use function vnlcd;use function yswje;use function gbbhf;use function ehqd10;use function vtzc11;use function ruzi12;use function hrig13;use function gcox14;use function rjng15;use function xcgv16;use function cziq17;use function vdly18;use function jtyp19;use function kdgc1a;class pbob34{public const BLOCKS=Mockery::BLOCKS;/**
     * Order number of allocation
     *
     * @var int
     */ protected $nvxl35=0;/**
     * Current ordered number
     *
     * @var int
     */ protected $urqt36=0;/**
     * @var Generator
     */ protected $iyto37;/**
     * Ordered groups
     *
     * @var array<string,int>
     */ protected $mrgg38=[];/**
     * @var LoaderInterface
     */ protected $ckys39;/**
     * Store of mock objects
     *
     * @var array<class-string<LegacyMockInterface&MockInterface>|int,LegacyMockInterface&MockInterface>
     */ protected $yoxl3a=[];/**
     * @var array<string,string>
     */ protected $rexq3b=[];/**
     * @var Instantiator
     */ protected $hqgx3c;public function ywxp1b(?Generator $lemi3d=null,?LoaderInterface $azxz3e=null,?Instantiator $hqgx3c=null){$this->$lemi3d=$lemi3d instanceof Generator?$lemi3d:Mockery::jjzp3f();$this->$azxz3e=$azxz3e instanceof LoaderInterface?$azxz3e:Mockery::pvwl40();$this->$dews41=$hqgx3c instanceof Instantiator?$hqgx3c:new ehgd42();}/**
     * Return a specific remembered mock according to the array index it
     * was stored to in this container instance
     *
     * @template TMock of object
     *
     * @param class-string<TMock> $reference
     *
     * @return null|(LegacyMockInterface&MockInterface&TMock)
     */ public function drft1c($npyg43){return $this->$cmuo44[$npyg43]?? null;}/**
     * @return Generator
     */ public function spzj1d(){return $this->$lemi3d;}/**
     * @param string $method
     * @param string $parent
     *
     * @return null|string
     */ public function vdxn1e($bldn45,$nydt46){$artz47=wezc2($this->$cmuo44);$qdus48=gbbhf(base64_decode('L19fZGVtZXRlcl8=').yswje($nydt46).gcox14(base64_decode('XyVzJC8='),$bldn45),$artz47);if($qdus48===false){return null;}if($qdus48===[]){return null;}return fdoo5($qdus48)[0];}/**
     * @return LoaderInterface
     */ public function aohj1f(){return $this->$azxz3e;}/**
     * @return array<class-string<LegacyMockInterface&MockInterface>|int,LegacyMockInterface&MockInterface>
     */ public function wkqs20(){return $this->$cmuo44;}/**
     * @return void
     */ public function swnm21(){}/**
     * see http://php.net/manual/en/language.oop5.basic.php
     *
     * @param string $className
     *
     * @return bool
     */ public function olxx22($dhef49){if($dhef49[0]===base64_decode('XFw=')){$dhef49=jtyp19($dhef49,1);}return skqs0(bknc8(base64_decode('XFw='),$dhef49),static function($fggx4a):bool{return!ehqd10(base64_decode('L15bYS16QS1aX1x4N2YtXHhmZl1bYS16QS1aMC05X1x4N2YtXHhmZl0qJC8='),$fggx4a);})===[];}/**
     * Generates a new mock object for this container
     *
     * I apologies in advance for this. A God Method just fits the API which
     * doesn't require differentiating between classes, interfaces, abstracts,
     * names or partials - just so long as it's something that can be mocked.
     * I'll refactor it one day so it's easier to follow.
     *
     * @template TMock of LegacyMockInterface&MockInterface&object
     *
     * @param array|string ...$args
     *
     * @throws ReflectionException|RuntimeException
     *
     * @return TMock
     */ public function mbzf24(...$xnui4b){/** @var null|MockConfigurationBuilder $builder */ $ctvl4c=null;/** @var null|callable $expectationClosure */ $avtl4d=null;$scth4e=null;$keiu4f=[];$xzwd50=null;$wmmt51=[];if(wjtm7($xnui4b)>1){$vfta52=oeup3($xnui4b);if(sfflb($vfta52)&&jydqc($vfta52)){$avtl4d=$vfta52;}else{$xnui4b[]=$vfta52;}}foreach($xnui4b as $zvhw53=>$khyp54){if($khyp54 instanceof MockConfigurationBuilder){$ctvl4c=$khyp54;unset($xnui4b[$zvhw53]);}}ruzi12($xnui4b);$ctvl4c=$ctvl4c ?? new qspy55();$vaqr56=Mockery::beyz57();$ctvl4c->fgrw58($vaqr56->vguo59());$ctvl4c->occg5a($vaqr56->lpzg5b());while($xnui4b!==[]){$khyp54=awfg4($xnui4b);if(vnlcd($khyp54)){foreach(bknc8(base64_decode('fA=='),$khyp54)as $glks5c){if($khyp54===base64_decode('bnVsbA==')){continue;}if(cziq17($glks5c,base64_decode('LA=='))&&(cziq17($glks5c,base64_decode('XQ=='))===0||cziq17($glks5c,base64_decode('XQ=='))===false)){$bjis5d=bknc8(base64_decode('LA=='),rjng15(base64_decode('IA=='),'',$glks5c));$ctvl4c->ermx5e($bjis5d);continue;}if(cziq17($glks5c,base64_decode('YWxpYXM6'))===0){$glks5c=rjng15(base64_decode('YWxpYXM6'),'',$glks5c);$ctvl4c->akxm5f(base64_decode('c3RkQ2xhc3M='));$ctvl4c->vqes60($glks5c);continue;}if(cziq17($glks5c,base64_decode('b3ZlcmxvYWQ6'))===0){$glks5c=rjng15(base64_decode('b3ZlcmxvYWQ6'),'',$glks5c);$ctvl4c->kyrv61(true);$ctvl4c->akxm5f(base64_decode('c3RkQ2xhc3M='));$ctvl4c->vqes60($glks5c);continue;}if($glks5c[xcgv16($glks5c)-1]===base64_decode('XQ==')){$tazz62=bknc8(base64_decode('Ww=='),$glks5c);$jeuf63=$tazz62[0];if(!crsr6($jeuf63,true)&&!lypwa($jeuf63,true)){throw new tefv64(base64_decode('Q2FuIG9ubHkgY3JlYXRlIGEgcGFydGlhbCBtb2NrIGZyb20gYW4gZXhpc3RpbmcgY2xhc3Mgb3IgaW50ZXJmYWNl'));}$ctvl4c->akxm5f($jeuf63);$scth4e=skqs0(bknc8(base64_decode('LA=='),vdly18(hrig13(rjng15(base64_decode('IA=='),'',$tazz62[1]),base64_decode('XQ==')))));foreach($scth4e as $himy65){if($himy65[0]===base64_decode('IQ==')){$ctvl4c->ubds66(jtyp19($himy65,1));continue;}$ctvl4c->nzyi67($himy65);}continue;}if(!$this->olxx22($glks5c)){throw new tefv64(base64_decode('Q2xhc3MgbmFtZSBjb250YWlucyBpbnZhbGlkIGNoYXJhY3RlcnM='));}if(crsr6($glks5c,true)||lypwa($glks5c,true)||kdgc1a($glks5c,true)){$ctvl4c->akxm5f($glks5c);continue;}if(!$vaqr56->lbht68()){throw new tefv64(gcox14(base64_decode('TW9ja2VyeSBjYW4ndCBmaW5kICclcycgc28gY2FuJ3QgbW9jayBpdA=='),$glks5c));}$ctvl4c->akxm5f($glks5c);break;}continue;}if(jydqc($khyp54)){$ctvl4c->akxm5f($khyp54);continue;}if($khyp54!==[]&&wezc2($khyp54)!==vtzc11(0,wjtm7($khyp54)-1)){if(dmht1(self::BLOCKS,$khyp54)){$wmmt51=$khyp54[self::BLOCKS];}unset($khyp54[self::BLOCKS]);$keiu4f=$khyp54;}else{$xzwd50=$khyp54;}}$ctvl4c->aqtk69($wmmt51);if($xzwd50!==null){$ctvl4c->ubds66(base64_decode('X19jb25zdHJ1Y3Q='));}else{$ctvl4c->tvhk6a(true);}if($scth4e!==null&&$xzwd50===null){$xzwd50=[];}$hrcu6b=$ctvl4c->ygyh6c();$this->yydb33($hrcu6b);$pevy6d=$this->spzj1d()->wjax6e($hrcu6b);$dhef49=$pevy6d->axls6f();if(crsr6($dhef49,$btxm70=false)){$wxzo71=new pqdj72($dhef49);if(!$wxzo71->iaph73(LegacyMockInterface::class)){throw new rxba74(gcox14(base64_decode('Q291bGQgbm90IGxvYWQgbW9jayAlcywgY2xhc3MgYWxyZWFkeSBleGlzdHM='),$dhef49));}}$this->aohj1f()->mexs75($pevy6d);$asqr76=$this->iykv32($dhef49,$xzwd50);$asqr76->febb77($this,$hrcu6b->qtdm78(),$hrcu6b->ncql79());if($keiu4f!==[]){if($vaqr56->fnah7a()->idgh7b()){$asqr76->rwdz7c($keiu4f)->szbn7d()->owcs7e();}else{$asqr76->rwdz7c($keiu4f)->dlfq7f();}}if($avtl4d!==null){$avtl4d($asqr76);}return $this->azul30($asqr76);}/**
     * Fetch the next available allocation order number
     *
     * @return int
     */ public function ycin25(){return++$this->$mltl80;}/**
     * Reset the container to its original state
     *
     * @return void
     */ public function urxn26(){foreach($this->$cmuo44 as $asqr76){$asqr76->xmzo2c();}$this->$cmuo44=[];}/**
     * Get current ordered number
     *
     * @return int
     */ public function ycdz27(){return $this->$uhrw81;}/**
     * Gets the count of expectations on the mocks
     *
     * @return int
     */ public function ntya28(){$omiw82=0;foreach($this->$cmuo44 as $asqr76){$omiw82+=$asqr76->ntya28();}return $omiw82;}/**
     * Fetch array of ordered groups
     *
     * @return array<string,int>
     */ public function nyck29(){return $this->$yicr83;}/**
     * Set current ordered number
     *
     * @param int $order
     *
     * @return int The current order number that was set
     */ public function mxmn2a($gxdv84){return $this->$uhrw81=$gxdv84;}/**
     * Set ordering for a group
     *
     * @param string $group
     * @param int $order
     *
     * @return void
     */ public function bpuz2b($nbdp85,$gxdv84){$this->$yicr83[$nbdp85]=$gxdv84;}/**
     * Tear down tasks for this container
     *
     * @throws PHPException
     */ public function xmzo2c(){try{$this->jayx2f();}catch(PHPException $qktu86){$this->urxn26();throw $qktu86;}}/**
     * Retrieves all exceptions thrown by mocks
     *
     * @return array<Throwable>
     */ public function noxy2d(){/** @var array<Throwable> $exceptions */ $lguo87=[];foreach($this->$cmuo44 as $asqr76){foreach($asqr76->noxy2d()as $mmsy88){$lguo87[]=$mmsy88;}}return $lguo87;}/**
     * Validate the current mock's ordering
     *
     * @param string $method
     * @param int $order
     *
     * @throws Exception
     */ public function pfwa2e($bldn45,$gxdv84,LegacyMockInterface $asqr76){if($gxdv84<$this->$uhrw81){$mmsy88=new idzs89(gcox14(base64_decode('TWV0aG9kICVzIGNhbGxlZCBvdXQgb2Ygb3JkZXI6IGV4cGVjdGVkIG9yZGVyICVkLCB3YXMgJWQ='),$bldn45,$gxdv84,$this->$uhrw81));$mmsy88->bcto8a($asqr76)->wybf8b($bldn45)->rpha8c($gxdv84)->eltq8d($this->$uhrw81);throw $mmsy88;}$this->mxmn2a($gxdv84);}/**
     * Verify the container mocks
     */ public function jayx2f(){foreach($this->$cmuo44 as $asqr76){$asqr76->jayx2f();}}/**
     * Store a mock and set its container reference
     *
     * @param LegacyMockInterface|MockInterface $mock
     *
     * @return LegacyMockInterface|MockInterface
     */ public function azul30(LegacyMockInterface $asqr76){$jeuf63=rnzg9($asqr76);if(!dmht1($jeuf63,$this->$cmuo44)){return $this->$cmuo44[$jeuf63]=$asqr76;}/**
         * This condition triggers for an instance mock where origin mock
         * is already remembered
         */ return $this->$cmuo44[]=$asqr76;}/**
     * Retrieve the last remembered mock object,
     * which is the same as saying retrieve the current mock being programmed where you have yet to call mock()
     * to change it thus why the method name is "self" since it will be used during the programming of the same mock.
     *
     * @return LegacyMockInterface|MockInterface
     */ public function lrhs31(){$cmuo44=fdoo5($this->$cmuo44);$lewg8e=wjtm7($cmuo44)-1;return $cmuo44[$lewg8e];}/**
     * @template TMock of object
     *
     * @param class-string<TMock> $mockName
     * @param null|array<int,mixed> $constructorArgs
     *
     * @return LegacyMockInterface&MockInterface&TMock
     */ protected function iykv32($dzra8f,$xzwd50=null){if($xzwd50!==null){return(new pqdj72($dzra8f))->cupl90($xzwd50);}try{$tyzc91=$this->$dews41->gwtr92($dzra8f);}catch(PHPException $qktu86){/** @var class-string<TMock> $internalMockName */ $himc93=$dzra8f.base64_decode('X0ludGVybmFs');if(!crsr6($himc93)){eval(gcox14(base64_decode('Y2xhc3MgJXMgZXh0ZW5kcyAlcyB7IHB1YmxpYyBmdW5jdGlvbiBfX2NvbnN0cnVjdCgpIHt9IH0='),$himc93,$dzra8f));}$tyzc91=new $himc93();}return $tyzc91;}protected function yydb33($hrcu6b){$fggx4a=$hrcu6b->ljim94();if($fggx4a===null){return;}$lgcr95=$hrcu6b->wonq96();if(dmht1($fggx4a,$this->$xpho97)&&$lgcr95!==$this->$xpho97[$fggx4a]){throw new tefv64(gcox14(base64_decode('VGhlIG1vY2sgbmFtZWQgJyVzJyBoYXMgYmVlbiBhbHJlYWR5IGRlZmluZWQgd2l0aCBhIGRpZmZlcmVudCBtb2NrIGNvbmZpZ3VyYXRpb24='),$fggx4a));}$this->$xpho97[$fggx4a]=$lgcr95;}}?>

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 Exception as PHPException;use Mockery;use Mockery\Exception\InvalidOrderException;use Mockery\Exception\RuntimeException;use Mockery\Generator\Generator;use Mockery\Generator\MockConfigurationBuilder;use Mockery\Loader\Loader as LoaderInterface;use ReflectionClass;use ReflectionException;use Throwable;use function skqs0;use function dmht1;use function wezc2;use function oeup3;use function awfg4;use function fdoo5;use function crsr6;use function wjtm7;use function bknc8;use function rnzg9;use function lypwa;use function sfflb;use function jydqc;use function vnlcd;use function yswje;use function gbbhf;use function ehqd10;use function vtzc11;use function ruzi12;use function hrig13;use function gcox14;use function rjng15;use function xcgv16;use function cziq17;use function vdly18;use function jtyp19;use function kdgc1a;class pbob34{public const BLOCKS=Mockery::BLOCKS;/**
     * Order number of allocation
     *
     * @var int
     */ protected $nvxl35=0;/**
     * Current ordered number
     *
     * @var int
     */ protected $urqt36=0;/**
     * @var Generator
     */ protected $iyto37;/**
     * Ordered groups
     *
     * @var array<string,int>
     */ protected $mrgg38=[];/**
     * @var LoaderInterface
     */ protected $ckys39;/**
     * Store of mock objects
     *
     * @var array<class-string<LegacyMockInterface&MockInterface>|int,LegacyMockInterface&MockInterface>
     */ protected $yoxl3a=[];/**
     * @var array<string,string>
     */ protected $rexq3b=[];/**
     * @var Instantiator
     */ protected $hqgx3c;public function ywxp1b(?Generator $lemi3d=null,?LoaderInterface $azxz3e=null,?Instantiator $hqgx3c=null){$this->$lemi3d=$lemi3d instanceof Generator?$lemi3d:Mockery::jjzp3f();$this->$azxz3e=$azxz3e instanceof LoaderInterface?$azxz3e:Mockery::pvwl40();$this->$dews41=$hqgx3c instanceof Instantiator?$hqgx3c:new ehgd42();}/**
     * Return a specific remembered mock according to the array index it
     * was stored to in this container instance
     *
     * @template TMock of object
     *
     * @param class-string<TMock> $reference
     *
     * @return null|(LegacyMockInterface&MockInterface&TMock)
     */ public function drft1c($npyg43){return $this->$cmuo44[$npyg43]?? null;}/**
     * @return Generator
     */ public function spzj1d(){return $this->$lemi3d;}/**
     * @param string $method
     * @param string $parent
     *
     * @return null|string
     */ public function vdxn1e($bldn45,$nydt46){$artz47=wezc2($this->$cmuo44);$qdus48=gbbhf(base64_decode('L19fZGVtZXRlcl8=').yswje($nydt46).gcox14(base64_decode('XyVzJC8='),$bldn45),$artz47);if($qdus48===false){return null;}if($qdus48===[]){return null;}return fdoo5($qdus48)[0];}/**
     * @return LoaderInterface
     */ public function aohj1f(){return $this->$azxz3e;}/**
     * @return array<class-string<LegacyMockInterface&MockInterface>|int,LegacyMockInterface&MockInterface>
     */ public function wkqs20(){return $this->$cmuo44;}/**
     * @return void
     */ public function swnm21(){}/**
     * see http://php.net/manual/en/language.oop5.basic.php
     *
     * @param string $className
     *
     * @return bool
     */ public function olxx22($dhef49){if($dhef49[0]===base64_decode('XFw=')){$dhef49=jtyp19($dhef49,1);}return skqs0(bknc8(base64_decode('XFw='),$dhef49),static function($fggx4a):bool{return!ehqd10(base64_decode('L15bYS16QS1aX1x4N2YtXHhmZl1bYS16QS1aMC05X1x4N2YtXHhmZl0qJC8='),$fggx4a);})===[];}/**
     * Generates a new mock object for this container
     *
     * I apologies in advance for this. A God Method just fits the API which
     * doesn't require differentiating between classes, interfaces, abstracts,
     * names or partials - just so long as it's something that can be mocked.
     * I'll refactor it one day so it's easier to follow.
     *
     * @template TMock of LegacyMockInterface&MockInterface&object
     *
     * @param array|string ...$args
     *
     * @throws ReflectionException|RuntimeException
     *
     * @return TMock
     */ public function mbzf24(...$xnui4b){/** @var null|MockConfigurationBuilder $builder */ $ctvl4c=null;/** @var null|callable $expectationClosure */ $avtl4d=null;$scth4e=null;$keiu4f=[];$xzwd50=null;$wmmt51=[];if(wjtm7($xnui4b)>1){$vfta52=oeup3($xnui4b);if(sfflb($vfta52)&&jydqc($vfta52)){$avtl4d=$vfta52;}else{$xnui4b[]=$vfta52;}}foreach($xnui4b as $zvhw53=>$khyp54){if($khyp54 instanceof MockConfigurationBuilder){$ctvl4c=$khyp54;unset($xnui4b[$zvhw53]);}}ruzi12($xnui4b);$ctvl4c=$ctvl4c ?? new qspy55();$vaqr56=Mockery::beyz57();$ctvl4c->fgrw58($vaqr56->vguo59());$ctvl4c->occg5a($vaqr56->lpzg5b());while($xnui4b!==[]){$khyp54=awfg4($xnui4b);if(vnlcd($khyp54)){foreach(bknc8(base64_decode('fA=='),$khyp54)as $glks5c){if($khyp54===base64_decode('bnVsbA==')){continue;}if(cziq17($glks5c,base64_decode('LA=='))&&(cziq17($glks5c,base64_decode('XQ=='))===0||cziq17($glks5c,base64_decode('XQ=='))===false)){$bjis5d=bknc8(base64_decode('LA=='),rjng15(base64_decode('IA=='),'',$glks5c));$ctvl4c->ermx5e($bjis5d);continue;}if(cziq17($glks5c,base64_decode('YWxpYXM6'))===0){$glks5c=rjng15(base64_decode('YWxpYXM6'),'',$glks5c);$ctvl4c->akxm5f(base64_decode('c3RkQ2xhc3M='));$ctvl4c->vqes60($glks5c);continue;}if(cziq17($glks5c,base64_decode('b3ZlcmxvYWQ6'))===0){$glks5c=rjng15(base64_decode('b3ZlcmxvYWQ6'),'',$glks5c);$ctvl4c->kyrv61(true);$ctvl4c->akxm5f(base64_decode('c3RkQ2xhc3M='));$ctvl4c->vqes60($glks5c);continue;}if($glks5c[xcgv16($glks5c)-1]===base64_decode('XQ==')){$tazz62=bknc8(base64_decode('Ww=='),$glks5c);$jeuf63=$tazz62[0];if(!crsr6($jeuf63,true)&&!lypwa($jeuf63,true)){throw new tefv64(base64_decode('Q2FuIG9ubHkgY3JlYXRlIGEgcGFydGlhbCBtb2NrIGZyb20gYW4gZXhpc3RpbmcgY2xhc3Mgb3IgaW50ZXJmYWNl'));}$ctvl4c->akxm5f($jeuf63);$scth4e=skqs0(bknc8(base64_decode('LA=='),vdly18(hrig13(rjng15(base64_decode('IA=='),'',$tazz62[1]),base64_decode('XQ==')))));foreach($scth4e as $himy65){if($himy65[0]===base64_decode('IQ==')){$ctvl4c->ubds66(jtyp19($himy65,1));continue;}$ctvl4c->nzyi67($himy65);}continue;}if(!$this->olxx22($glks5c)){throw new tefv64(base64_decode('Q2xhc3MgbmFtZSBjb250YWlucyBpbnZhbGlkIGNoYXJhY3RlcnM='));}if(crsr6($glks5c,true)||lypwa($glks5c,true)||kdgc1a($glks5c,true)){$ctvl4c->akxm5f($glks5c);continue;}if(!$vaqr56->lbht68()){throw new tefv64(gcox14(base64_decode('TW9ja2VyeSBjYW4ndCBmaW5kICclcycgc28gY2FuJ3QgbW9jayBpdA=='),$glks5c));}$ctvl4c->akxm5f($glks5c);break;}continue;}if(jydqc($khyp54)){$ctvl4c->akxm5f($khyp54);continue;}if($khyp54!==[]&&wezc2($khyp54)!==vtzc11(0,wjtm7($khyp54)-1)){if(dmht1(self::BLOCKS,$khyp54)){$wmmt51=$khyp54[self::BLOCKS];}unset($khyp54[self::BLOCKS]);$keiu4f=$khyp54;}else{$xzwd50=$khyp54;}}$ctvl4c->aqtk69($wmmt51);if($xzwd50!==null){$ctvl4c->ubds66(base64_decode('X19jb25zdHJ1Y3Q='));}else{$ctvl4c->tvhk6a(true);}if($scth4e!==null&&$xzwd50===null){$xzwd50=[];}$hrcu6b=$ctvl4c->ygyh6c();$this->yydb33($hrcu6b);$pevy6d=$this->spzj1d()->wjax6e($hrcu6b);$dhef49=$pevy6d->axls6f();if(crsr6($dhef49,$btxm70=false)){$wxzo71=new pqdj72($dhef49);if(!$wxzo71->iaph73(LegacyMockInterface::class)){throw new rxba74(gcox14(base64_decode('Q291bGQgbm90IGxvYWQgbW9jayAlcywgY2xhc3MgYWxyZWFkeSBleGlzdHM='),$dhef49));}}$this->aohj1f()->mexs75($pevy6d);$asqr76=$this->iykv32($dhef49,$xzwd50);$asqr76->febb77($this,$hrcu6b->qtdm78(),$hrcu6b->ncql79());if($keiu4f!==[]){if($vaqr56->fnah7a()->idgh7b()){$asqr76->rwdz7c($keiu4f)->szbn7d()->owcs7e();}else{$asqr76->rwdz7c($keiu4f)->dlfq7f();}}if($avtl4d!==null){$avtl4d($asqr76);}return $this->azul30($asqr76);}/**
     * Fetch the next available allocation order number
     *
     * @return int
     */ public function ycin25(){return++$this->$mltl80;}/**
     * Reset the container to its original state
     *
     * @return void
     */ public function urxn26(){foreach($this->$cmuo44 as $asqr76){$asqr76->xmzo2c();}$this->$cmuo44=[];}/**
     * Get current ordered number
     *
     * @return int
     */ public function ycdz27(){return $this->$uhrw81;}/**
     * Gets the count of expectations on the mocks
     *
     * @return int
     */ public function ntya28(){$omiw82=0;foreach($this->$cmuo44 as $asqr76){$omiw82+=$asqr76->ntya28();}return $omiw82;}/**
     * Fetch array of ordered groups
     *
     * @return array<string,int>
     */ public function nyck29(){return $this->$yicr83;}/**
     * Set current ordered number
     *
     * @param int $order
     *
     * @return int The current order number that was set
     */ public function mxmn2a($gxdv84){return $this->$uhrw81=$gxdv84;}/**
     * Set ordering for a group
     *
     * @param string $group
     * @param int $order
     *
     * @return void
     */ public function bpuz2b($nbdp85,$gxdv84){$this->$yicr83[$nbdp85]=$gxdv84;}/**
     * Tear down tasks for this container
     *
     * @throws PHPException
     */ public function xmzo2c(){try{$this->jayx2f();}catch(PHPException $qktu86){$this->urxn26();throw $qktu86;}}/**
     * Retrieves all exceptions thrown by mocks
     *
     * @return array<Throwable>
     */ public function noxy2d(){/** @var array<Throwable> $exceptions */ $lguo87=[];foreach($this->$cmuo44 as $asqr76){foreach($asqr76->noxy2d()as $mmsy88){$lguo87[]=$mmsy88;}}return $lguo87;}/**
     * Validate the current mock's ordering
     *
     * @param string $method
     * @param int $order
     *
     * @throws Exception
     */ public function pfwa2e($bldn45,$gxdv84,LegacyMockInterface $asqr76){if($gxdv84<$this->$uhrw81){$mmsy88=new idzs89(gcox14(base64_decode('TWV0aG9kICVzIGNhbGxlZCBvdXQgb2Ygb3JkZXI6IGV4cGVjdGVkIG9yZGVyICVkLCB3YXMgJWQ='),$bldn45,$gxdv84,$this->$uhrw81));$mmsy88->bcto8a($asqr76)->wybf8b($bldn45)->rpha8c($gxdv84)->eltq8d($this->$uhrw81);throw $mmsy88;}$this->mxmn2a($gxdv84);}/**
     * Verify the container mocks
     */ public function jayx2f(){foreach($this->$cmuo44 as $asqr76){$asqr76->jayx2f();}}/**
     * Store a mock and set its container reference
     *
     * @param LegacyMockInterface|MockInterface $mock
     *
     * @return LegacyMockInterface|MockInterface
     */ public function azul30(LegacyMockInterface $asqr76){$jeuf63=rnzg9($asqr76);if(!dmht1($jeuf63,$this->$cmuo44)){return $this->$cmuo44[$jeuf63]=$asqr76;}/**
         * This condition triggers for an instance mock where origin mock
         * is already remembered
         */ return $this->$cmuo44[]=$asqr76;}/**
     * Retrieve the last remembered mock object,
     * which is the same as saying retrieve the current mock being programmed where you have yet to call mock()
     * to change it thus why the method name is "self" since it will be used during the programming of the same mock.
     *
     * @return LegacyMockInterface|MockInterface
     */ public function lrhs31(){$cmuo44=fdoo5($this->$cmuo44);$lewg8e=wjtm7($cmuo44)-1;return $cmuo44[$lewg8e];}/**
     * @template TMock of object
     *
     * @param class-string<TMock> $mockName
     * @param null|array<int,mixed> $constructorArgs
     *
     * @return LegacyMockInterface&MockInterface&TMock
     */ protected function iykv32($dzra8f,$xzwd50=null){if($xzwd50!==null){return(new pqdj72($dzra8f))->cupl90($xzwd50);}try{$tyzc91=$this->$dews41->gwtr92($dzra8f);}catch(PHPException $qktu86){/** @var class-string<TMock> $internalMockName */ $himc93=$dzra8f.base64_decode('X0ludGVybmFs');if(!crsr6($himc93)){eval(gcox14(base64_decode('Y2xhc3MgJXMgZXh0ZW5kcyAlcyB7IHB1YmxpYyBmdW5jdGlvbiBfX2NvbnN0cnVjdCgpIHt9IH0='),$himc93,$dzra8f));}$tyzc91=new $himc93();}return $tyzc91;}protected function yydb33($hrcu6b){$fggx4a=$hrcu6b->ljim94();if($fggx4a===null){return;}$lgcr95=$hrcu6b->wonq96();if(dmht1($fggx4a,$this->$xpho97)&&$lgcr95!==$this->$xpho97[$fggx4a]){throw new tefv64(gcox14(base64_decode('VGhlIG1vY2sgbmFtZWQgJyVzJyBoYXMgYmVlbiBhbHJlYWR5IGRlZmluZWQgd2l0aCBhIGRpZmZlcmVudCBtb2NrIGNvbmZpZ3VyYXRpb24='),$fggx4a));}$this->$xpho97[$fggx4a]=$lgcr95;}}?>

Function Calls

None

Variables

None

Stats

MD5 f6294f4416bd0623b902c8dfb052d480
Eval Count 0
Decode Time 107 ms