Keep in mind that this implementation requires an api for fetching data, and assumes the following response schema:
{
"perPageOptions": [
15, 50, 100
],
"actions": [
"Delete all", "Publish All", "Unpublish All"
],| <?php | |
| declare(strict_types=1); | |
| namespace App\Filter; | |
| use ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\SearchFilter; | |
| use ApiPlatform\Core\Bridge\Doctrine\Orm\Util\QueryNameGeneratorInterface; | |
| use ApiPlatform\Core\Exception\InvalidArgumentException; | |
| use App\Entity\Term; |
| <?php | |
| namespace App\Filter; | |
| use ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\SearchFilter; | |
| use ApiPlatform\Core\Bridge\Doctrine\Orm\Util\QueryNameGeneratorInterface; | |
| use ApiPlatform\Core\Exception\InvalidArgumentException; | |
| use Doctrine\ORM\QueryBuilder; |
| ENVIRONMENT=dev | |
| OTHER_CONFIG=BLAH |
Keep in mind that this implementation requires an api for fetching data, and assumes the following response schema:
{
"perPageOptions": [
15, 50, 100
],
"actions": [
"Delete all", "Publish All", "Unpublish All"
],| version: '4.5' | |
| services: | |
| # GITLAB | |
| gitlab-web: | |
| image: 'gitlab/gitlab-ce:latest' | |
| restart: always | |
| container_name: gitlab-web | |
| hostname: '192.168.0.14' | |
| environment: |
| <?php | |
| namespace App\Identifier; | |
| use App\Entity\User; | |
| use Ramsey\Uuid\UuidInterface; | |
| use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException; | |
| use Symfony\Component\Security\Core\Security; | |
| use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; |
| <?php | |
| if (!function_exists('array_group_by')) { | |
| /** | |
| * Groups an array by a given key. | |
| * | |
| * Groups an array into arrays by a given key, or set of keys, shared between all array members. | |
| * | |
| * Based on {@author Jake Zatecky}'s {@link https://github.com/jakezatecky/array_group_by array_group_by()} function. | |
| * This variant allows $key to be closures. |
| <?php | |
| namespace App\Services\Dto; | |
| abstract class AbstractDto | |
| { | |
| /** | |
| * AbstractRequestDto constructor. | |
| * @param array $data | |
| */ |
| #!/bin/bash | |
| set -eu | |
| export SNAP_NAME="microk8s" | |
| export SNAP_DATA="/var/snap/microk8s/current/" | |
| export SNAP="/snap/microk8s/current/" | |
| export PATH="$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH" | |
| source $SNAP/actions/common/utils.sh |
| FROM php:7.4-fpm-alpine | |
| WORKDIR "/application" | |
| # Install essential build tools | |
| RUN apk add --no-cache \ | |
| git \ | |
| yarn \ | |
| autoconf \ | |
| g++ \ | |
| make \ |