芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/rentandbuyrealty.com/pay/vendor/hoa/file/SplFileInfo.php
isFile()) { return $this->_stream = new ReadWrite($this->getPathname()); } elseif (true === $this->isDir()) { return $this->_stream = new Directory($this->getPathname()); } elseif (true === $this->isLink()) { return $this->_stream = new Link\ReadWrite($this->getPathname()); } throw new Exception('%s has an unknown type.', 0, $this->getPathname()); } /** * Close the opened stream. * * @return void */ public function close() { if (null === $this->_stream) { return; } return $this->_stream->close(); } /** * Destruct. * * @return void */ public function __destruct() { $this->close(); return; } }