/** * 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()); }
public function __construct($name) { parent::__construct($name); }
public function __construct($argument) { parent::__construct($argument); $this->parseAmfAnnotations(); }
public function __construct($name) { parent::__construct($name); $this->annotation = Notoj::parseDocComment($this); }