Skip to content

Instantly share code, notes, and snippets.

@newtonwagner
newtonwagner / SomeModel.php
Last active August 29, 2015 14:09
Adapting Yii 1.x models to allow change validation
<?php
class SomeModel extends GxActiveRecord
{
/**
* @var $oldAttributes Holds the state of the object afterFind() until afterSave()
*/
protected $oldAttributes;
/**
@newtonwagner
newtonwagner / referencia-pt.feature
Last active November 30, 2018 18:25
Referência Behat Mink em Português
# Observacao: Ainda estou traduzindo e validando as opcoes para a linguagem pt.
# Dado (Given)
Dado Eu estou na página de entrada
Dado Eu estou em "url"
# Quando (When)