Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-php-library
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sinan
mongo-php-library
Commits
96f46e03
Commit
96f46e03
authored
Jun 07, 2016
by
Jeremy Mikola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use "filename" instead of "file name" in doc blocks
parent
6cd2b405
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
Bucket.php
src/GridFS/Bucket.php
+5
-5
WritableStream.php
src/GridFS/WritableStream.php
+1
-1
No files found.
src/GridFS/Bucket.php
View file @
96f46e03
...
@@ -136,7 +136,7 @@ class Bucket
...
@@ -136,7 +136,7 @@ class Bucket
* * -2 = the second most recent revision
* * -2 = the second most recent revision
* * -1 = the most recent revision
* * -1 = the most recent revision
*
*
* @param string $filename File
name
* @param string $filename Filename
* @param resource $destination Writable Stream
* @param resource $destination Writable Stream
* @param array $options Download options
* @param array $options Download options
* @throws FileNotFoundException
* @throws FileNotFoundException
...
@@ -242,7 +242,7 @@ class Bucket
...
@@ -242,7 +242,7 @@ class Bucket
* * -2 = the second most recent revision
* * -2 = the second most recent revision
* * -1 = the most recent revision
* * -1 = the most recent revision
*
*
* @param string $filename File
name
* @param string $filename Filename
* @param array $options Download options
* @param array $options Download options
* @return resource
* @return resource
* @throws FileNotFoundException
* @throws FileNotFoundException
...
@@ -268,7 +268,7 @@ class Bucket
...
@@ -268,7 +268,7 @@ class Bucket
* * chunkSizeBytes (integer): The chunk size in bytes. Defaults to the
* * chunkSizeBytes (integer): The chunk size in bytes. Defaults to the
* bucket's chunk size.
* bucket's chunk size.
*
*
* @param string $filename File
name
* @param string $filename Filename
* @param array $options Upload options
* @param array $options Upload options
* @return resource
* @return resource
*/
*/
...
@@ -292,7 +292,7 @@ class Bucket
...
@@ -292,7 +292,7 @@ class Bucket
* Renames the GridFS file with the specified ID.
* Renames the GridFS file with the specified ID.
*
*
* @param mixed $id File ID
* @param mixed $id File ID
* @param string $newFilename New file
name
* @param string $newFilename New filename
* @throws FileNotFoundException
* @throws FileNotFoundException
*/
*/
public
function
rename
(
$id
,
$newFilename
)
public
function
rename
(
$id
,
$newFilename
)
...
@@ -325,7 +325,7 @@ class Bucket
...
@@ -325,7 +325,7 @@ class Bucket
* * chunkSizeBytes (integer): The chunk size in bytes. Defaults to the
* * chunkSizeBytes (integer): The chunk size in bytes. Defaults to the
* bucket's chunk size.
* bucket's chunk size.
*
*
* @param string $filename File
name
* @param string $filename Filename
* @param resource $source Readable stream
* @param resource $source Readable stream
* @param array $options Stream options
* @param array $options Stream options
* @return ObjectId ID of the newly created GridFS file
* @return ObjectId ID of the newly created GridFS file
...
...
src/GridFS/WritableStream.php
View file @
96f46e03
...
@@ -48,7 +48,7 @@ class WritableStream
...
@@ -48,7 +48,7 @@ class WritableStream
* collection document.
* collection document.
*
*
* @param CollectionWrapper $collectionWrapper GridFS collection wrapper
* @param CollectionWrapper $collectionWrapper GridFS collection wrapper
* @param string $filename File
name
* @param string $filename Filename
* @param array $options Upload options
* @param array $options Upload options
* @throws InvalidArgumentException
* @throws InvalidArgumentException
*/
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment