I hereby claim:
- I am K-Phoen on github.
- I am kphoen (https://keybase.io/kphoen) on keybase.
- I have a public key whose fingerprint is 57A4 79D4 C383 6309 2BB4 0A21 2069 4939 A2EC 0900
To claim this, I am signing this object:
| <?php | |
| namespace Acme\BlogBundle\DependencyInjection; | |
| use Symfony\Component\DependencyInjection\ContainerBuilder; | |
| use Symfony\Component\DependencyInjection\Loader\YamlFileLoader; | |
| use Symfony\Component\HttpKernel\DependencyInjection\Extension; | |
| use Symfony\Component\Config\FileLocator; | |
| class AcmeBlogExtension extends Extension |
| interface Specification | |
| { | |
| public function getCriteria(); | |
| } | |
| class FilterGroup implements Specification | |
| { | |
| private $group; | |
| public function __construct($group) |
I hereby claim:
To claim this, I am signing this object:
| class SpecificationToStringTransformer implements DataTransformerInterface | |
| { | |
| private $specificationClass; | |
| private $valuePath; | |
| private $accessor; | |
| public function __construct($specificationClass, $valuePath) | |
| { | |
| $this->specificationClass = $specificationClass; | |
| $this->valuePath = $valuePath; |
| {{ define "custom_alert.title" }}[{{ .Status | toUpper }}{{ if eq .Status "firing" }}: {{ .Alerts.Firing | len }}{{ if gt (.Alerts.Resolved | len) 0 }}, RESOLVED: {{ .Alerts.Resolved | len }}{{ end }}{{ end }}]{{ if gt (len .GroupLabels) 0 }} Grouped by: {{ range .CommonLabels.SortedPairs }}{{ .Name }}: {{ .Value }}{{ end }}{{ end }}{{ end }} | |
| {{ define "__text_alert_name" }}{{ range .Labels.SortedPairs }}{{ if eq .Name "alertname" }}{{ .Value }}{{ end }}{{ end }}{{ end }} | |
| {{ define "__text_alert_summary" }}{{ range .Annotations.SortedPairs }}{{ if eq .Name "summary" }}{{ .Value }} | |
| {{ end }}{{ end }}{{ end }} | |
| {{ define "__text_alert_description" }}{{ range .Annotations.SortedPairs }}{{ if eq .Name "description" }}{{ .Value }}{{ end }}{{ end }}{{ end }} | |
| {{ define "__text_alert_runbook_url" }}{{ range .Annotations.SortedPairs }}{{ if eq .Name "runbook_url" }} | |
| :bookmark_tabs: <{{ .Value }}|Playbook>{{ end }}{{ end }}{{ end }} | |
| {{ define "__text_alert_firing_item" }}:bell: {{ template "__text_alert_name" . }} | |
| {{ te |