1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-12 16:14:16 +02:00

feat(element-queries): Collections API next round of implementation #436

This commit is contained in:
Awilum
2020-07-14 21:07:13 +03:00
parent cff4c6ffdd
commit 52d179e8e3
3 changed files with 6 additions and 11 deletions

View File

@@ -74,6 +74,9 @@
"autoload": {
"classmap": [
"src/flextype"
],
"files": [
"src/flextype/Support/helpers.php"
]
},
"require-dev": {

View File

@@ -7,25 +7,17 @@ declare(strict_types=1);
* Founded by Sergey Romanenko and maintained by Flextype Community.
*/
namespace Flextype;
namespace Flextype\Support;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Criteria;
use Doctrine\Common\Collections\Expr\Comparison;
use Flextype\Component\Filesystem\Filesystem;
use Flextype\Component\Arr\Arr;
class Collection
{
/**
* Flextype Dependency Container
*
* @access private
*/
private $flextype;
/**
* Entires Order Direction
* Order Direction
*
* @var array
* @access public

View File

@@ -7,7 +7,7 @@ declare(strict_types=1);
* Founded by Sergey Romanenko and maintained by Flextype Community.
*/
namespace Flextype;
use Flextype\Support\Collection;
if (! function_exists('collect')) {
/**