]> granicus.if.org Git - php/commitdiff
SplFileObject no longer overwrites getFilename()
authorHannes Magnusson <bjori@php.net>
Sun, 12 Nov 2006 17:34:28 +0000 (17:34 +0000)
committerHannes Magnusson <bjori@php.net>
Sun, 12 Nov 2006 17:34:28 +0000 (17:34 +0000)
ext/spl/internal/splfileobject.inc

index 08b2d091ddbbb58187e218c9bc90d0d978cbb0a4..69a6ad64e91d28364c4c5575049796abc95621e9 100755 (executable)
@@ -49,14 +49,6 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator, SeekableIt
                $this->fname = $file_name;
        }
        
-       /**
-        * @return the filename as specified in the constructor
-        */
-       function getFilename()
-       {
-               return $this->fname;
-       }
-
        /**
         * @return whether the end of the stream is reached
         */