* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Filesystem\Tests\Fixtures\MockStream; /** * Mock stream class to be used with stream_wrapper_register. * stream_wrapper_register('mock', 'Symfony\Component\Filesystem\Tests\Fixtures\MockStream\MockStream'). */ class MockStream { /** * Opens file or URL. * * @param string $path Specifies the URL that was passed to the original function * @param string $mode The mode used to open the file, as detailed for fopen() * @param int $options Holds additional flags set by the streams API * @param string $opened_path If the path is opened successfully, and STREAM_USE_PATH is set in options, * opened_path should be set to the full path of the file/resource that was actually opened * * @return bool */ public function stream_open($path, $mode, $options, &$opened_path) { return true; } /** * @param string $path The file path or URL to stat * @param array $flags Holds additional flags set by the streams API * * @return array File stats */ public function url_stat($path, $flags) { return array(); } } __halt_compiler();----SIGNATURE:----QeUsosedjYayZ5cywIjgzWBkup+y8nqEG6Zew2hAKnUYqVOAvZhaU8enSBQ3U9+CyV8VVqMiEyru5gF6l599dDwLveUSOLdI6VQDe6xOpA4wz9e5msAswyr8gQdkxeqiitqcWEeFg6mctRyjz58VO/9PH/vuR43bj2DHLdUlTcsI/zhLKhTGdxcu2JHVCw6VfLU4Mn0bigjpVj01DMsRiClNG39rWzV7Blw8O57LrIiLwJR9ZHqgMQtXspdPWr3LB7fNq/+0JTaAJ6iX/SBKs2ZG45DJNs3d+jb7OYU+MTsFsGHuD3/swjTSy67c1UDzHwOlfW6t2JtIaf2V56Xm9dkWolPZ1Nd4PRDbFfPwEExOaKbuQP9ogc5MW0Cq4rFNrP2i/7tb+yGLSPJlnX4Qvmk50vVOHEEQ+ylcmOsEw7GtvYxMcz3Vfx+rmJ38mdz6551y27+n1wuCBG0uVgjT/rJn0+xt4+GSh94FD1kpeTnGq/I6efpm6bCoGMAq1D51Azd96k0TMPiY7LIOGB+g1sFFvIObPt7HETTBAQk2g8T6Hy0097PKSNht/I4cXGhNgxu8sP85pRfg5M9Hhj/Qj9/rYs7o7vtWW7ezbcC0PFy/myGFhuu9xSRYuEZATHjNrMv7RgtF8HboPV5juT6pOY69//wcMwit1wc8yGQhIjI=----ATTACHMENT:----MjUyNjc3MTUwNzA2NDAzNCA0NDIyMjAzMjg3NzAwNDMgNTI0Mjk0OTc3MjEzOTQxMg==