Exemplo n.º 1
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());
 }