Created
December 4, 2012 20:38
-
-
Save jimbojsb/4208428 to your computer and use it in GitHub Desktop.
PHPStorm constructor generation idea
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From this: | |
class FtpTransport | |
{ | |
public function __construct($host, $username, $password) | |
{ | |
} | |
} | |
Allow me to generate this: | |
class FtpTransport | |
{ | |
protected $host; | |
protected $usenrame; | |
protected $password; | |
public function __construct($host, $username, $password) | |
{ | |
$this->host = $host; | |
$this->username = $username; | |
$this->password = $password; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment