FileGlobalMock.php 373 B

1234567891011121314151617181920
  1. <?php
  2. namespace League\CLImate\Util\Writer;
  3. use League\CLImate\Tests\TestBase;
  4. function fopen($resource, $mode)
  5. {
  6. return TestBase::$functions->fopen($resource, $mode);
  7. }
  8. function flock($resource, $state)
  9. {
  10. return TestBase::$functions->flock($resource, $state);
  11. }
  12. function gzopen($resource, $mode)
  13. {
  14. return TestBase::$functions->gzopen($resource, $mode);
  15. }