* * 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:----Br4phNWT6m/0VMk2dbxRXefPDBhrMZWxoR8lXH9IRXyxJs2Y5f/luRQmpTni7L6xOfXY2pZD1XT9IMEOGIPW+d64/Y5yo8+rYsko4sy+HhRoD0FXDF9/ZoApNColaMqh5FT3zKelQkwLrub4x2pVj5s2rs11krBxKwPX6QRovHRTfT+ub3LGPDRyKpPbEvYJi+Nld4wohohj+WnVWRbr5xUUC1n3dyqeSkKUWAlFHWqXTLjIwveVbHKlmHUiP422FT6/41pTCkCcSvL0mSvAQ+In3yMhTdCvbCl986J0xGzRiRHfIHzzKEHA3PelTXAgyWVwS/Vdt17Dg9zlfOFbRy36CYepWE5rghIuzDQ8+NPy9/Db5GnRsbFVDPjka5q/+JImWW+SNE/tr9f0kpNnwnSr0WpDQ5oIwiv/3dM97gj0kXGhwIBZWwzo5gFlIc540j//esGSF0fOo2ROCB6GnxCBDtHT/bTYgbHM2Q8/E/28UVyzYELoYfnRzwT3thcOkV8e0k85vvofm7sOAmKxXxRbvtA8VXF6YlMoLET+P1e+98roc6WicQXzqWL1wHNFRKSjBW+9UktIqAGVO9B8t3X58Z12xqj4vdYj8vcVzxKnmswEyX9OpSOKBSirU1sDdMWxvHx7V3rBjy5jLygS9BTD0RdHB6Xs6kMqqAvYdT4=----ATTACHMENT:----OTU3MDIzMTQxNzE0NzQ0MCA0NzYzMzcwMTk5OTkxMzkgODczODcxNzg5MTAyNTQ2Mg==