diff --git a/composer.json b/composer.json index 26d9aba3..140a0337 100755 --- a/composer.json +++ b/composer.json @@ -74,6 +74,9 @@ "autoload": { "classmap": [ "src/flextype" + ], + "files": [ + "src/flextype/Support/helpers.php" ] }, "require-dev": { diff --git a/src/flextype/Support/Collection.php b/src/flextype/Support/Collection.php index 450769b1..f74c24bf 100644 --- a/src/flextype/Support/Collection.php +++ b/src/flextype/Support/Collection.php @@ -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 diff --git a/src/flextype/Support/helpers.php b/src/flextype/Support/helpers.php index 97e1f7d8..a8263304 100644 --- a/src/flextype/Support/helpers.php +++ b/src/flextype/Support/helpers.php @@ -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')) { /**