Ejemplo n.º 1
0
 /**
  * Initializes a new instance of this class.
  *
  * @param mixed $value The value to set.
  */
 public function __construct($value = null)
 {
     parent::__construct();
     if ($value !== null) {
         $this->setValue($value);
     }
 }
Ejemplo n.º 2
0
 public function __construct()
 {
     parent::__construct();
     $this->createSocket('name');
     $this->createSocket('name');
 }