__construct() public method

Creates a new struct
public __construct ( string $name = null )
$name string the fqcn
Example #1
0
 /**
  * Creates a new PHP class
  *
  * @param string $name the qualified name
  */
 public function __construct($name = null)
 {
     parent::__construct($name);
     $this->initProperties();
     $this->initConstants();
     $this->initInterfaces();
 }
 /**
  * Create a new PHP interface
  * 
  * @param string $name qualified name
  */
 public function __construct($name = null)
 {
     parent::__construct($name);
 }