/**
  * Initializes the all properties representing a collection with a new Collection object.
  */
 public function __construct()
 {
     parent::__construct();
     $this->setParent(new Collection());
     $this->setConstants(new Collection());
     $this->setMethods(new Collection());
 }
Exemplo n.º 2
0
 /**
  * Initializes the all properties representing a collection with a new Collection object.
  */
 public function __construct()
 {
     parent::__construct();
     $this->setProperties(new Collection());
     $this->setMethods(new Collection());
     $this->setUsedTraits(new Collection());
 }
 /**
  * Initializes the all properties representing a collection with a new Collection object.
  */
 public function __construct()
 {
     parent::__construct();
     $this->setInterfaces(new Collection());
     $this->setConstants(new Collection());
     $this->setProperties(new Collection());
     $this->setMethods(new Collection());
 }
Exemplo n.º 4
0
 /**
  * Initializes a new file descriptor with the given hash of its contents.
  *
  * @param string $hash An MD5 hash of the contents if this file.
  */
 public function __construct($hash)
 {
     parent::__construct();
     $this->setHash($hash);
     $this->setNamespaceAliases(new Collection());
     $this->setIncludes(new Collection());
     $this->setConstants(new Collection());
     $this->setFunctions(new Collection());
     $this->setClasses(new Collection());
     $this->setInterfaces(new Collection());
     $this->setTraits(new Collection());
     $this->setMarkers(new Collection());
 }
 /**
  * Initializes the all properties representing a collection with a new Collection object.
  */
 public function __construct()
 {
     parent::__construct();
     $this->setArguments(new Collection());
 }