Implemented TreeCollectionSource

This commit is contained in:
Kevin Frantz
2018-11-02 21:38:04 +01:00
parent e0edc8935d
commit a66e2c3b46
11 changed files with 111 additions and 77 deletions

View File

@@ -8,6 +8,8 @@ use App\Helper\DimensionHelper;
/**
* @author kevinfrantz
*
* @deprecated use instead CollectionDimensionHelper Method
*
* @todo this attribut should be refactored to mapp fully on collections instead of members
*/
trait MembersAttribut
@@ -31,6 +33,8 @@ trait MembersAttribut
* @param int $dimension The dimensions start with 1 for the members of the actuall dimension and NULL for all members
* @param Collection $members A reference to a members list, to which new members should be add
*
* @deprecated Use Instead CollectionDimensionHelperMethod
*
* @return Collection|MembersAttributInterface[] Returns all members till the defined dimension
*/
public function getMembersIncludingChildren(?int $dimension = null, Collection $members = null): Collection