Skip to content
This repository has been archived by the owner on Mar 4, 2018. It is now read-only.

Commit

Permalink
Remove some old files
Browse files Browse the repository at this point in the history
  • Loading branch information
lexxorlov committed Apr 26, 2016
1 parent bda029a commit 646b19f
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 386 deletions.
6 changes: 3 additions & 3 deletions EMongoDocument.php
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@ public function findAllByPk($pk, $fields = [])
* @param array|string[] $fields
* @return []
*/
public function find($criteria = [], $fields = [])
protected function find($criteria = [], $fields = [])
{
$this->trace(__FUNCTION__);

Expand Down Expand Up @@ -996,7 +996,7 @@ public function find($criteria = [], $fields = [])
* @param array|string[] $fields
* @return EMongoDocument|null
*/
public function findBy_id($_id, $fields = [])
public function findByObjectID($_id, $fields = [])
{
$this->trace(__FUNCTION__);
$_id = $this->getPrimaryKey($_id);
Expand All @@ -1012,7 +1012,7 @@ public function findBy_id($_id, $fields = [])
public function findByPk($pk, $fields = [])
{
$this->trace(__FUNCTION__);
return $this->findBy_id($pk, $fields);
return $this->findByObjectID($pk, $fields);
}

/**
Expand Down
264 changes: 0 additions & 264 deletions EMongoFile.php

This file was deleted.

7 changes: 7 additions & 0 deletions EMongoQueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,14 @@ class EMongoQueryBuilder
*/
public $model;

/**
* @var array|EMongoCriteria|MongoCursor|string
*/
private $query = '';

/**
* @var array
*/
private $options = [];

/**
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"role": "Developer"
},
{
"name": "Virchenko Maksimv",
"name": "Virchenko Maksim",
"email": "[email protected]",
"role": "Developer"
}
Expand Down
Loading

0 comments on commit 646b19f

Please sign in to comment.