btwael / mammouth

Unfancy PHP
http://mammouth.boutglay.com
MIT License
214 stars 22 forks source link

Shorten 'this' reference #56

Closed catexa closed 9 years ago

catexa commented 9 years ago

Kudos for shortening PHP's horrible '$this->var' syntax. I suggest cleaning it even further PHP: $this->var MM: this.var Suggested: @var

'this' is often used extensively. A shortcut for it reduces typing and the 'this' reference stands out well with the '@'

catexa commented 9 years ago

Does this already exist? I don't think it is shown in the documentation.

btwael commented 9 years ago

Yeah that's already exist, will be added to third version documentation, thank you :+1: