public function field($name, $value, $options = [])
    {
        $value = Dumper::export($value);
        $before = Arr::get($options, 'before', '');
        $visibility = Arr::get($options, 'visibility', 'protected');
        $after = Arr::get($options, 'after', "\n");

        return "$before\t$visibility \$$name = $value;$after";
    }
public function field($name, $value, $options = [])
    {
        $value = Dumper::export($value);
        $before = Arr::get($options, 'before', '');
        $visibility = Arr::get($options, 'visibility', 'protected');
        $after = Arr::get($options, 'after', "\n");

        return "$before\t$visibility \$$name = $value;$after";
    }
public function field ( $ name , $ value , $ options = [ ] ) { $ value = Dumper :: export ( $ value ) ; $ before = Arr :: get ( $ options , 'before' , '' ) ; $ visibility = Arr :: get ( $ options , 'visibility' , 'protected' ) ; $ after = Arr :: get ( $ options , 'after' , "\n" ) ; return "$before\t$visibility \$$name = $value;$after" ; }
Field template.

@param string $name
@param mixed $value
@param array $options

@return string
Field template .