gossi\codegen\model\AbstractPhpMember::__construct PHP Method

__construct() public method

Creates a new member
public __construct ( string $name )
$name string the name of the member
    public function __construct($name)
    {
        $this->setName($name);
        $this->docblock = new Docblock();
    }

Usage Example

Beispiel #1
0
 public function __construct($name)
 {
     parent::__construct($name);
     $this->initParameters();
 }