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
c8b78792
Commit
c8b78792
authored
Dec 09, 2014
by
Hannes Magnusson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add "PSR-4" autoloading
parent
fbd07436
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
12 additions
and
7 deletions
+12
-7
composer.json
composer.json
+6
-1
write.php
examples/write.php
+6
-6
Collection.php
src/Collection.php
+0
-0
CursorType.php
src/CursorType.php
+0
-0
DeleteResult.php
src/DeleteResult.php
+0
-0
InsertResult.php
src/InsertResult.php
+0
-0
QueryFlags.php
src/QueryFlags.php
+0
-0
UpdateResult.php
src/UpdateResult.php
+0
-0
No files found.
composer.json
View file @
c8b78792
...
...
@@ -11,5 +11,10 @@
"email"
:
"bjori@mongodb.com"
}
],
"minimum-stability"
:
"dev"
"minimum-stability"
:
"dev"
,
"autoload"
:
{
"psr-4"
:
{
"MongoDB
\\
"
:
"src/"
}
}
}
examples/write.php
View file @
c8b78792
<?php
require
__DIR__
.
"/../src/
MongoDB/
QueryFlags.php"
;
require
__DIR__
.
"/../src/
MongoDB/
CursorType.php"
;
require
__DIR__
.
"/../src/
MongoDB/
InsertResult.php"
;
require
__DIR__
.
"/../src/
MongoDB/
DeleteResult.php"
;
require
__DIR__
.
"/../src/
MongoDB/
UpdateResult.php"
;
require
__DIR__
.
"/../src/
MongoDB/
Collection.php"
;
require
__DIR__
.
"/../src/QueryFlags.php"
;
require
__DIR__
.
"/../src/CursorType.php"
;
require
__DIR__
.
"/../src/InsertResult.php"
;
require
__DIR__
.
"/../src/DeleteResult.php"
;
require
__DIR__
.
"/../src/UpdateResult.php"
;
require
__DIR__
.
"/../src/Collection.php"
;
$manager
=
new
MongoDB\Manager
(
"mongodb://localhost:27017"
);
...
...
src/
MongoDB/
Collection.php
→
src/Collection.php
View file @
c8b78792
File moved
src/
MongoDB/
CursorType.php
→
src/CursorType.php
View file @
c8b78792
File moved
src/
MongoDB/
DeleteResult.php
→
src/DeleteResult.php
View file @
c8b78792
File moved
src/
MongoDB/
InsertResult.php
→
src/InsertResult.php
View file @
c8b78792
File moved
src/
MongoDB/
QueryFlags.php
→
src/QueryFlags.php
View file @
c8b78792
File moved
src/
MongoDB/
UpdateResult.php
→
src/UpdateResult.php
View file @
c8b78792
File moved
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