コード例 #1
0
 /**
  * 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());
 }
コード例 #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());
 }
コード例 #3
0
 /**
  * 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());
 }
コード例 #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());
 }
コード例 #5
0
 /**
  * Initializes the all properties representing a collection with a new Collection object.
  */
 public function __construct()
 {
     parent::__construct();
     $this->setArguments(new Collection());
 }