32 lines
566 B
PHP
32 lines
566 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the Symfony package.
|
|
*
|
|
* (c) Fabien Potencier <fabien@symfony.com>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Symfony\Component\HttpFoundation\File;
|
|
|
|
/**
|
|
* A PHP stream of unknown size.
|
|
*
|
|
* @author Nicolas Grekas <p@tchwork.com>
|
|
*/
|
|
class Stream extends File
|
|
{
|
|
/**
|
|
* {@inheritdoc}
|
|
*
|
|
* @return int|false
|
|
*/
|
|
#[\ReturnTypeWillChange]
|
|
public function getSize()
|
|
{
|
|
return false;
|
|
}
|
|
}
|