atom-php-getters-setters icon indicating copy to clipboard operation
atom-php-getters-setters copied to clipboard

Respect identation

Open diegolhambi opened this issue 9 years ago • 1 comments

This package is very useful! But the generator don't respect the indentation of the class.

Example:

// class example
    class Foo{
        private $bar;
    }

The package will make:

// class example
    class Foo{
        private $bar;

public function getBar() {
    return $this->bar;
}

public function setBar($bar) {
    $this->bar = $bar;
}
    }

diegolhambi avatar Aug 20 '15 12:08 diegolhambi

Whilst indenting it yourself is certainly easy, I would really like this as a feature :+1:

tapiwan avatar Feb 12 '16 08:02 tapiwan