Hi!
First of all, thanks for a brilliant and super fast framework! Great work!
I'd like to ask about Phalcon's File class. In the documentation, there's a method getExtension(), although, when trying to use it, I get a fatal error, that the method is undefined. Methods inherited from SplFileInfo like getRealType() are defined and work correctly. The moveTo() method also works like a charm. Am I doing something wrong or perhaps getExtension() is not yet implemented? Using Phalcon 1.3.1
Here's the PHP code:
if($this->request->hasFiles() == true) {
foreach($this->request->getUploadedFiles() as $file) {
die($file->getExtension());
}
}
Thanks in advance!