An example of interfaces in PHP. And pretty much every other language that supports interfaces.
Requirements
- You need to have Docker installed
Run in root folder,
cp .env.example .env
docker-compose build && docker-compose up -d
Login to the container,
docker exec -it -u serveruser app_fpm /bin/bash -c "TERM=$TERM exec bash"
To check it works,
php hello.php
Exit the container,
exit