Esempio n. 1
0
 /**
  * Constructs a new ezcReflectionObject.
  *
  * @param object|ReflectionObject $argument
  *        Instance or ReflectionObject of the object to be reflected
  */
 public function __construct($argument)
 {
     if (!$argument instanceof parent) {
         parent::__construct($argument);
     }
     $this->reflectionSource = $argument;
     // TODO: Parse comment on demand to save CPU time and memory
     $this->docParser = ezcReflection::getDocCommentParser();
     $this->docParser->parse($this->getDocComment());
 }
Esempio n. 2
0
 public function __construct($name)
 {
     parent::__construct($name);
 }
Esempio n. 3
0
 public function __construct($argument)
 {
     parent::__construct($argument);
     $this->parseAmfAnnotations();
 }
Esempio n. 4
0
 public function __construct($name)
 {
     parent::__construct($name);
     $this->annotation = Notoj::parseDocComment($this);
 }