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
cb72ccc1
Commit
cb72ccc1
authored
Jun 20, 2016
by
Jeremy Mikola
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #196
parents
04c9bc04
3b6ad58d
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
19 additions
and
22 deletions
+19
-22
Collection.php
src/Collection.php
+0
-2
Database.php
src/Database.php
+0
-2
CollectionInfo.php
src/Model/CollectionInfo.php
+4
-4
DatabaseInfo.php
src/Model/DatabaseInfo.php
+4
-4
IndexInfo.php
src/Model/IndexInfo.php
+4
-4
IndexInput.php
src/Model/IndexInput.php
+5
-5
DatabaseCommand.php
src/Operation/DatabaseCommand.php
+2
-1
No files found.
src/Collection.php
View file @
cb72ccc1
...
@@ -7,11 +7,9 @@ use MongoDB\Driver\Cursor;
...
@@ -7,11 +7,9 @@ use MongoDB\Driver\Cursor;
use
MongoDB\Driver\Manager
;
use
MongoDB\Driver\Manager
;
use
MongoDB\Driver\ReadConcern
;
use
MongoDB\Driver\ReadConcern
;
use
MongoDB\Driver\ReadPreference
;
use
MongoDB\Driver\ReadPreference
;
use
MongoDB\Driver\Server
;
use
MongoDB\Driver\WriteConcern
;
use
MongoDB\Driver\WriteConcern
;
use
MongoDB\Exception\InvalidArgumentException
;
use
MongoDB\Exception\InvalidArgumentException
;
use
MongoDB\Model\IndexInfoIterator
;
use
MongoDB\Model\IndexInfoIterator
;
use
MongoDB\Model\IndexInput
;
use
MongoDB\Operation\Aggregate
;
use
MongoDB\Operation\Aggregate
;
use
MongoDB\Operation\BulkWrite
;
use
MongoDB\Operation\BulkWrite
;
use
MongoDB\Operation\CreateIndexes
;
use
MongoDB\Operation\CreateIndexes
;
...
...
src/Database.php
View file @
cb72ccc1
...
@@ -5,10 +5,8 @@ namespace MongoDB;
...
@@ -5,10 +5,8 @@ namespace MongoDB;
use
MongoDB\Collection
;
use
MongoDB\Collection
;
use
MongoDB\Driver\Cursor
;
use
MongoDB\Driver\Cursor
;
use
MongoDB\Driver\Manager
;
use
MongoDB\Driver\Manager
;
use
MongoDB\Driver\Query
;
use
MongoDB\Driver\ReadConcern
;
use
MongoDB\Driver\ReadConcern
;
use
MongoDB\Driver\ReadPreference
;
use
MongoDB\Driver\ReadPreference
;
use
MongoDB\Driver\Server
;
use
MongoDB\Driver\WriteConcern
;
use
MongoDB\Driver\WriteConcern
;
use
MongoDB\Exception\InvalidArgumentException
;
use
MongoDB\Exception\InvalidArgumentException
;
use
MongoDB\Model\CollectionInfoIterator
;
use
MongoDB\Model\CollectionInfoIterator
;
...
...
src/Model/CollectionInfo.php
View file @
cb72ccc1
...
@@ -18,10 +18,10 @@ class CollectionInfo
...
@@ -18,10 +18,10 @@ class CollectionInfo
private
$info
;
private
$info
;
/**
/**
* Constructor.
* Constructor.
*
*
* @param array $info Collection info
* @param array $info Collection info
*/
*/
public
function
__construct
(
array
$info
)
public
function
__construct
(
array
$info
)
{
{
$this
->
info
=
$info
;
$this
->
info
=
$info
;
...
...
src/Model/DatabaseInfo.php
View file @
cb72ccc1
...
@@ -17,10 +17,10 @@ class DatabaseInfo
...
@@ -17,10 +17,10 @@ class DatabaseInfo
private
$info
;
private
$info
;
/**
/**
* Constructor.
* Constructor.
*
*
* @param array $info Database info
* @param array $info Database info
*/
*/
public
function
__construct
(
array
$info
)
public
function
__construct
(
array
$info
)
{
{
$this
->
info
=
$info
;
$this
->
info
=
$info
;
...
...
src/Model/IndexInfo.php
View file @
cb72ccc1
...
@@ -25,10 +25,10 @@ class IndexInfo implements ArrayAccess
...
@@ -25,10 +25,10 @@ class IndexInfo implements ArrayAccess
private
$info
;
private
$info
;
/**
/**
* Constructor.
* Constructor.
*
*
* @param array $info Index info
* @param array $info Index info
*/
*/
public
function
__construct
(
array
$info
)
public
function
__construct
(
array
$info
)
{
{
$this
->
info
=
$info
;
$this
->
info
=
$info
;
...
...
src/Model/IndexInput.php
View file @
cb72ccc1
...
@@ -20,11 +20,11 @@ class IndexInput implements Serializable
...
@@ -20,11 +20,11 @@ class IndexInput implements Serializable
private
$index
;
private
$index
;
/**
/**
* Constructor.
* Constructor.
*
*
* @param array $index Index specification
* @param array $index Index specification
* @throws InvalidArgumentException
* @throws InvalidArgumentException
*/
*/
public
function
__construct
(
array
$index
)
public
function
__construct
(
array
$index
)
{
{
if
(
!
isset
(
$index
[
'key'
]))
{
if
(
!
isset
(
$index
[
'key'
]))
{
...
...
src/Operation/DatabaseCommand.php
View file @
cb72ccc1
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
namespace
MongoDB\Operation
;
namespace
MongoDB\Operation
;
use
MongoDB\Driver\Command
;
use
MongoDB\Driver\Command
;
use
MongoDB\Driver\Cursor
;
use
MongoDB\Driver\ReadPreference
;
use
MongoDB\Driver\ReadPreference
;
use
MongoDB\Driver\Server
;
use
MongoDB\Driver\Server
;
use
MongoDB\Exception\InvalidArgumentException
;
use
MongoDB\Exception\InvalidArgumentException
;
...
@@ -62,7 +63,7 @@ class DatabaseCommand implements Executable
...
@@ -62,7 +63,7 @@ class DatabaseCommand implements Executable
*
*
* @see Executable::execute()
* @see Executable::execute()
* @param Server $server
* @param Server $server
* @return
intege
r
* @return
Curso
r
*/
*/
public
function
execute
(
Server
$server
)
public
function
execute
(
Server
$server
)
{
{
...
...
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