mirror of
				https://github.com/kevinveenbirkenbach/infinito.git
				synced 2025-10-31 01:09:41 +00:00 
			
		
		
		
	Deprecated DimensionHelper
This commit is contained in:
		| @@ -10,7 +10,9 @@ use Doctrine\Common\Collections\Collection; | ||||
|  * | ||||
|  * @author kevinfrantz | ||||
|  * | ||||
|  * @todo Implement tests for all functions | ||||
|  * @deprecated | ||||
|  * | ||||
|  * @todo Implement as service! | ||||
|  */ | ||||
| final class DimensionHelper implements DimensionHelperInterface | ||||
| { | ||||
| @@ -58,6 +60,8 @@ final class DimensionHelper implements DimensionHelperInterface | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|      * @deprecated | ||||
|      * | ||||
|      * @param int        $dimension | ||||
|      *                              The dimensions start with 1 for the elements of the actuall dimension and NULL for all elements | ||||
|      * @param Collection $elements | ||||
|   | ||||
| @@ -4,7 +4,20 @@ namespace App\Helper; | ||||
|  | ||||
| use Doctrine\Common\Collections\Collection; | ||||
|  | ||||
| /** | ||||
|  * @deprecated | ||||
|  * | ||||
|  * @author kevinfrantz | ||||
|  */ | ||||
| interface DimensionHelperInterface | ||||
| { | ||||
|     /** | ||||
|      * @deprecated | ||||
|      * | ||||
|      * @param int        $dimension | ||||
|      * @param Collection $elements | ||||
|      * | ||||
|      * @return Collection | ||||
|      */ | ||||
|     public function getDimensions(?int $dimension = null, Collection $elements = null): Collection; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user