* * 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:----nI/u1vI+29oA0W5QSyReEae2gw2gYGAw6jWaQZBx26W/JS3fk5tUBqC0ChzL0szDERh3FoVyhzCCwZ6xRwkMwwkbKV+mXztGMYVc4PH1IEl5V9EJqNTljblVz1hUGnkLP8AnR3pmmUlVY2ob4AkQKJYTXNXfCt0Y5/cZSNg1Ouz74/Z2FOgFYDdHba02yosUM2gySOYFsa+u6z1S8k3yJ8U5CW9TADa3VQ6NeFD3WM9WtM1BYVPWq8d49WFsha7ItV3Fq2MIqf4BXlMJqztCRIYbbysq1CfLtz4Edb5HbeQD050Jfu5uCys5/WKYKemVVg9OWFYPfC6ZsqwafJ//vNowQl/MwrCHq9A9uhAa4v3pgGGSrhGNfZzZkqtta9p1ORNnwGzJsJnj/sFNfyUedZcHl53H5lxro2acqACTM3bdBCWkJx5WlqIxVzgp5Kze/T/AYsvsYxo2khVyFHBNXphg62Pdx7uGQX44OkZ3tQA93qjSEdgw46ndKH0I360h3r2ZQ6c+a+VqqnIzHbO+8croCofZsQDDiQBL3P0lWOfE579SpN21R6nOneL/L5hdkpkk8B/xil/vm+ECCpkjrCoAAPYGaGFxk0K2/jbjONYue+QK15Co5VR39HQA3dlmku/sEbOvHqXqNdkjc4HjbONsAvIU81dRFRYU5LLItZU=----ATTACHMENT:----NzM5OTI5MzU4MDI1NTYxIDExOTY3OTM2NzY0MDgxNTcgNDQwOTU4MzEyNzc4NTM0Mg==