4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\HttpFoundation\Tests\File;
14 use Symfony\Component\HttpFoundation\File\File as OrigFile;
16 class FakeFile extends OrigFile
20 public function __construct($realpath, $path)
22 $this->realpath = $realpath;
23 parent::__construct($path, false);
26 public function isReadable()
31 public function getRealpath()
33 return $this->realpath;
36 public function getSize()
41 public function getMTime()