View difference between Paste ID: 7DCbCCBJ and wuVxc5yj
SHOW: | | - or go back to the newest paste.
1-
function value1Length() {
1+
$myClass = new MyClass();
2-
    return strlen($this->attribute('value1'));
2+
3-
}
3+
$length = $myClass->value1Length();
4
$length = $myClass->attribute('value1_length');