/** * Sets a flag whether to auto-load annotation classes or not. * * NOTE: It is recommended to turn auto-loading on if your auto-loader * supports silent failing. For this reason, setting this to TRUE * renders the parser incompatible with {@link ClassLoader}. * * @param boolean $bool Boolean flag. */ public function setAutoloadAnnotations($bool) { $this->parser->setAutoloadAnnotations($bool); }