D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
cpanel
/
ea-php83
/
root
/
usr
/
share
/
tests
/
pear
/
HTTP_Request2
/
Filename :
MockObserver.php
back
Copy
<?php /** * Unit tests for HTTP_Request2 package * * PHP version 5 * * LICENSE * * This source file is subject to BSD 3-Clause License that is bundled * with this package in the file LICENSE and available at the URL * https://raw.github.com/pear/HTTP_Request2/trunk/docs/LICENSE * * @category HTTP * @package HTTP_Request2 * @author Alexey Borzov <avb@php.net> * @copyright 2008-2023 Alexey Borzov <avb@php.net> * @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause License * @link http://pear.php.net/package/HTTP_Request2 */ /** * Mock observer */ class HTTP_Request2_MockObserver implements SplObserver { public $calls = 0; public $event; #[ReturnTypeWillChange] public function update (SplSubject $subject) { $this->calls++; $this->event = $subject->getLastEvent(); } } ?>
Name
Size
Last Modified
Owner
Permissions
Actions
Request2
Dir
May 20 2024 4:30:44
root
0755
_files
Dir
May 20 2024 4:30:44
root
0755
_network
Dir
May 20 2024 4:30:44
root
0755
MockObserver.php
0.846
KB
May 20 2024 4:30:44
root
0644
NetworkConfig.php.dist
1.922
KB
May 20 2024 4:30:44
root
0644
ObserverTest.php
2.372
KB
May 20 2024 4:30:44
root
0644
Request2Test.php
11.897
KB
May 20 2024 4:30:44
root
0644
TestHelper.php
2.009
KB
May 20 2024 4:30:44
root
0644
2017 © D7net | D704T team