Skip to content

Instantly share code, notes, and snippets.

class MoneyType extends AbstractType implements DataMapperInterface
{
public function buildForm(FormBuilder $builder, array $options)
{
$builder
->add('amount', 'integer')
->add('currency', 'string')
->setDataMapper($this)
;
}
@mkorkmaz
mkorkmaz / .travis.yml
Created June 28, 2016 14:16
Testing your code with Elasticseach 2 on TravisCI
language: php
sudo: false
jdk:
- oraclejdk8
addons:
apt:
packages:
- oracle-java8-installer
php:
- 7.0
@DzeryCZ
DzeryCZ / ReadingHelmResources.md
Last active November 18, 2025 20:08
Decoding Helm3 resources in secrets

Helm 3 is storing description of it's releases in secrets. You can simply find them via

$ kubectl get secrets
NAME                                                TYPE                                  DATA   AGE
sh.helm.release.v1.wordpress.v1                     helm.sh/release.v1                    1      1h

If you want to get more info about the secret, you can try to describe the secret

$ kubectl describe secret sh.helm.release.v1.wordpress.v1