Commit 4661ef14 authored by Taylor Otwell's avatar Taylor Otwell

added code example to file::upload method.

parent 09b4471a
......@@ -106,6 +106,11 @@ class File {
/**
* Move an uploaded file to permanent storage.
*
* <code>
* // Upload the $_FILES['photo'] file to a permanent location
* File::upload('photo', 'path/to/new/home.jpg');
* </code>
*
* @param string $key
* @param string $path
* @return bool
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment