コード例 #1
0
ファイル: object.php プロジェクト: naderman/ezc-reflection
 /**
  * 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());
 }
コード例 #2
0
ファイル: ReflectionObject.php プロジェクト: crodas/notoj
 public function __construct($name)
 {
     parent::__construct($name);
 }
コード例 #3
0
ファイル: AmfReflector.php プロジェクト: fproject/phpamf
 public function __construct($argument)
 {
     parent::__construct($argument);
     $this->parseAmfAnnotations();
 }
コード例 #4
0
ファイル: ReflectionObject.php プロジェクト: agpmedia/notoj
 public function __construct($name)
 {
     parent::__construct($name);
     $this->annotation = Notoj::parseDocComment($this);
 }