# Stream

class Stream extends File

A PHP stream of unknown size.

## Methods

`public` | `` | `getSize()` | {@inheritdoc} |

## Details

at line 24

### `getSize()`

`public getSize()`

{@inheritdoc}

## Source code

    <?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}
         */
        public function getSize()
        {
            return false;
        }
    }