Skip to content

Instantly share code, notes, and snippets.

View tarlepp's full-sized avatar
💭
örrr

Tarmo Leppänen tarlepp

💭
örrr
  • Pinja
  • Jyväskylä, Finland
View GitHub Profile
FROM php:7.4.11-fpm
RUN apt-get update && apt-get install -y \
libicu-dev \
&& rm -rf /var/lib/apt/lists/*
RUN docker-php-ext-install mysqli \
&& docker-php-ext-install intl
<?php
namespace App\Crawler;
use Symfony\Component\DomCrawler\Crawler;
use Symfony\Component\Panther\Client;
class DiaEsCrawler
{
public function foo()
<?php
declare(strict_types = 1);
namespace App\Controller;
use Symfony\Component\DomCrawler\Crawler;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Panther\Client;
use Symfony\Component\Routing\Annotation\Route;
<?php
declare(strict_types = 1);
namespace App\Validator\Constraints;
use Symfony\Component\Validator\Constraint;
/**
* @Annotation
* @Target({"CLASS"})
<?php
declare(strict_types = 1);
namespace App\EventSubscriber;
use App\Exception\interfaces\ClientErrorInterface;
use App\Security\UserTypeIdentification;
use App\Utils\JSON;
use Doctrine\DBAL\DBALException;
use Doctrine\ORM\ORMException;
<?php
namespace App\Command;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;
use Symfony\Contracts\HttpClient\HttpClientInterface;
<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\Routing\Annotation\Route;
class DefaultController extends AbstractController
{
/**
<?php
namespace App\Controller;
use App\UseCases\UserManagement;
use App\UseCases\UserManagementInterface;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\Routing\Annotation\Route;
class UserManagementController extends AbstractController
version: '3'
services:
php:
build:
context: .
dockerfile: ./Dockerfile_dev
command: php-fpm
depends_on:
- mysql
ports:
R-Kioski Vantaa Ärrävaara Koivuvaarankuja 2
Koivuvaarankuja 2, 01640 Vantaa
YKSITYINEN, Postin automaatti, Hämeenkyläntie 77
Hämeenkyläntie 77, 01644 VANTAA
Postin automaatti, R-kioski Ärrävaara
Koivuvaarankuja 2, 01644 VANTAA