Skip to content

Instantly share code, notes, and snippets.

@trindade
trindade / sf14_get_raw_value
Created May 8, 2019 15:14 — forked from melz/sf14_get_raw_value
Obtain the raw value from an sfOutputEscaperArrayDecorator object
<?php
// 1) Escaping on; View template
$manufacturers = $sf_user->getAttribute('manufacturer_ids', array(), 'mdUser');
$user_manufacturers->getRawValue(); // returns an array()
// for variables in view template
echo $sf_data->getRaw('variable_name');
// disable escaping from class method output
@trindade
trindade / bitbucket-pipelines.yml
Created June 13, 2018 16:03 — forked from adilsoncarvalho/bitbucket-pipelines.yml
Bitbucket Pipelines deployment to a Google Container Engine configuration
---
options:
docker: true
pipelines:
branches:
master:
- step:
script:
# Installing gcloud

Awesome PHP

A list of amazingly awesome PHP libraries, resources and shiny things.

Composer

Composer Related