mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-09 14:07:25 +01:00
Deprecated DimensionHelper
This commit is contained in:
parent
43761e472f
commit
f89d20d365
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user