API Reference
-
-
- _Interface
- A
- Abbr
- Address
- Area
- Article
- Aside
- Audio
- B
- Base
- Bdi
- Bdo
- Block
- Blockquote
- Body
- Br
- Button
- Canvas
- Caption
- Cite
- Code
- Col
- Colgroup
- Comment
- Datalist
- Dd
- Del
- Details
- Dfn
- Dialog
- Div
- Dl
- Doctype
- Dt
- Element
- ElementCollection
- Em
- Embed
- Fieldset
- Figcaption
- Figure
- Footer
- Form
- Group
- H1
- H2
- H3
- H4
- H5
- H6
- Head
- Header
- Hgroup
- Hr
- Html
- I
- Iframe
- Img
- Inline
- Input
- Ins
- Kbd
- Keygen
- Label
- Legend
- Li
- Link
- Map
- Mark
- Meta
- Meter
- Nav
- Noscript
- Object
- Ol
- Optgroup
- Option
- Output
- P
- Param
- Parameters
- Pre
- Progress
- Q
- Rp
- Rt
- Ruby
- S
- Samp
- Script
- Section
- Select
- Small
- Source
- Span
- Strong
- Style
- Sub
- Summary
- Sup
- Table
- Tbody
- Td
- Textarea
- Tfoot
- Th
- Thead
- Time
- Title
- Tr
- U
- Ul
- Video
- Wbr
- jQuery
- Application
- Btree
- Closure
- Controller
- Cron
- Date
- Exception
- Extender
- File
- GeoData
- Loader
- Map
- Money
- Timer
- Version
- View
- IndexController
Hazaar\File
Temp
Create a temporary file
This class will create and manage a temporary file that is stored in the application runtime directory in a subdirectory called 'temp'. The file is not stateful, meaning it can only be used for the lifetime of the execution and once the file object falls out of scope it will be deleted automatically.
Summary
Methods | Properties | Constants |
---|---|---|
No properties | No constants |
Methods
__construct()
__construct($name = null)
Temporary file constructor
__destruct()
__destruct()
Temporary file destructor
This method will clean up the file on disk when the object falls out of scope.
Contents
Powered by Scroly.io
Generated: Thursday, October 3rd 2019 at 2:45pm