/** * @return void */ public function __construct($filePath = null) { parent::__construct($filePath); $this->addParsers(array(':constants' => new ConstantParser(), ':methods' => new MethodParser(), ':attributes' => new AttributeParser())); }
/** * @return void */ public function __construct() { parent::__construct(); $this->addParsers(array('namespace' => new NamespaceParser(), 'imports' => new ImportsParser(), 'functions' => new FunctionParser(), 'classes' => new ClassParser(), 'interfaces' => new InterfaceParser(), 'comments' => new DocCommentParser())); }