getAppCollection example



    /** * @param array<int, array<int, array<string, mixed>>> $appEntities * * @return StaticEntityRepository<AppCollection> */
    private function getAppRepositoryMock(array $appEntities): StaticEntityRepository
    {
        $searchResults = [];
        foreach ($appEntities as $entity) {
            $searchResults[] = $this->getAppCollection($entity);
        }

        /** @var StaticEntityRepository<AppCollection> $repo */
        $repo = new StaticEntityRepository($searchResults);

        return $repo;
    }

    /** * @param array<int, array<string, mixed>> $appEntities */
    
Home | Imprint | This part of the site doesn't use cookies.