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:
@@ -74,6 +74,9 @@
|
||||
"autoload": {
|
||||
"classmap": [
|
||||
"src/flextype"
|
||||
],
|
||||
"files": [
|
||||
"src/flextype/Support/helpers.php"
|
||||
]
|
||||
},
|
||||
"require-dev": {
|
||||
|
@@ -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
|
||||
|
@@ -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')) {
|
||||
/**
|
||||
|
Reference in New Issue
Block a user