277 | /** | | |
278 | * Add some ignored classes into the ignore classes diagram list | | |
279 | * | | |
280 | * @see CodeToDiagram::setIgnoredClasses( String[] ) | | |
281 | * @see CodeToDiagram::getIgnoredClasses() | | |
282 | * @see CodeInstrumentationReceiver::setIgnoredClasses( String[] ) | | |
283 | * @see CodeInstrumentationReceiver::getIgnoredClasses() | | |
284 | * @param String $strIgnoredClasses | | |
285 | * @return CodeToDiagram me | | |
286 | */ | | |
287 | public function addIgnoredClass( $strIgnoredClass ) | | |
288 | { | | |
289 | CodeInstrumentationReceiver::getInstance()->addIgnoredClass( $strIgnoredClass ); | | |
290 | return $this; | | |
291 | } | | |
292 | | | |
293 | /** | | |
294 | * Set the ignored methods of the diagram | | |
295 | * | | |
296 | * @see CodeToDiagram::getIgnoredMethods() | | |
297 | * @see CodeInstrumentationReceiver::setIgnoredMethods( String[] ) | | |
298 | * @param String[] $arrIgnoredMethods | | |
299 | * @return CodeToDiagram me | | |
300 | */ | | |
301 | public function setIgnoredMethods( array $arrIgnoredMethods ) | | |
302 | { | | |
303 | CodeInstrumentationReceiver::getInstance()->setIgnoredMethods( $arrIgnoredMethods ); | | |
304 | return $this; | | |
305 | } | | |
306 | | | |
319 | /** | | |
320 | * Add some ignored methods into the ignore methods diagram list | | |
321 | * | | |
322 | * @see CodeToDiagram::setIgnoredMethods( String[] ) | | |
323 | * @see CodeToDiagram::getIgnoredMethods() | | |
324 | * @see CodeInstrumentationReceiver::setIgnoredMethods( String[] ) | | |
325 | * @see CodeInstrumentationReceiver::getIgnoredMethods() | | |
326 | * @param String $strIgnoredMethods | | |
327 | * @return CodeToDiagram me | | |
328 | */ | | |
329 | public function addIgnoredMethod( $strIgnoredMethod ) | | |
330 | { | | |
331 | CodeInstrumentationReceiver::getInstance()->addIgnoredMethod( $strIgnoredMethod ); | | |
332 | return $this; | | |
333 | } | | |
334 | | | |
335 | /** | | |
336 | * Set the ignored methods Regex of the diagram | | |
337 | * | | |
338 | * @see CodeToDiagram::getIgnoredMethodsRegex() | | |
339 | * @see CodeInstrumentationReceiver::setIgnoredMethodsRegex( String[] ) | | |
340 | * @param String[] $arrIgnoredMethodsRegex | | |
341 | * @return CodeToDiagram me | | |
342 | */ | | |
343 | public function setIgnoredMethodsRegex( array $arrIgnoredMethodsRegex ) | | |
344 | { | | |
345 | CodeInstrumentationReceiver::getInstance()->setIgnoredMethodsRegex( $arrIgnoredMethodsRegex ); | | |
346 | return $this; | | |
347 | } | | |
348 | | | |
356 | public function getIgnoredMethodsRegex() | 297 | public function setGatekeeperMethods( MatchGatekeeper $objGatekeeperMethods ) |
357 | { | 298 | { |
358 | return CodeInstrumentationReceiver::getInstance()->getIgnoredMethodsRegex(); | 299 | CodeInstrumentationReceiver::getInstance()->setGatekeeperMethods( $objGatekeeperMethods ); |
359 | } | | |
360 | | | |
361 | /** | | |
362 | * Add some ignored methods Regex into the ignore methods diagram list | | |
363 | * | | |
364 | * @see CodeToDiagram::setIgnoredMethodsRegex( String[] ) | | |
365 | * @see CodeToDiagram::getIgnoredMethodsRegex() | | |
366 | * @see CodeInstrumentationReceiver::setIgnoredMethodsRegex( String[] ) | | |
367 | * @see CodeInstrumentationReceiver::getIgnoredMethodsRegex() | | |
368 | * @param String $strIgnoredMethodsRegex | | |
369 | * @return CodeToDiagram me | | |
370 | */ | | |
371 | public function addIgnoredMethodRegex( $strIgnoredMethodRegex ) | | |
372 | { | | |
373 | CodeInstrumentationReceiver::getInstance()->addIgnoredMethodRegex( $strIgnoredMethodRegex ); | | |
392 | * Get the exclusive classes of the diagram | | |
393 | * | | |
394 | * @see CodeToDiagram::setExclusiveClasses( String[] ) | | |
395 | * @see CodeInstrumentationReceiver::getExclusiveClasses() | | |
396 | * @return String[] $arrExclusiveClasses | | |
397 | */ | | |
398 | public function getExclusiveClasses() | | |
399 | { | | |
400 | return CodeInstrumentationReceiver::getInstance()->getExclusiveClasses(); | | |
401 | } | | |
402 | | | |
403 | /** | | |
404 | * Add some exclusive classes into the exclusive classes diagram list | | |
405 | * | | |
406 | * @see CodeToDiagram::setExclusiveClasses( String[] ) | | |
407 | * @see CodeToDiagram::getExclusiveClasses() | | |
408 | * @see CodeInstrumentationReceiver::setExclusiveClasses( String[] ) | | |
409 | * @see CodeInstrumentationReceiver::getExclusiveClasses() | | |
410 | * @param String $strExclusiveClass | | |
411 | * @return CodeToDiagram me | | |
412 | */ | | |
413 | public function addExclusiveClass( $strExclusiveClass ) | | |
414 | { | | |
415 | CodeInstrumentationReceiver::getInstance()->addExclusiveClass( $strExclusiveClass ); | | |
416 | return $this; | | |
417 | } | | |
418 | | | |
419 | | | |
420 | /** | | |
421 | * Set the exclusive methods of the diagram | | |
422 | * | | |
423 | * @see CodeToDiagram::setExclusiveMethods( String[] ) | | |
424 | * @see CodeInstrumentationReceiver::setExclusiveMethods( String[] ) | | |
425 | * @param String[] $arrExclusiveMethods | | |
426 | * @return CodeToDiagram me | | |
427 | */ | | |
428 | public function setExclusiveMethods( array $arrExclusiveMethods ) | | |
429 | { | | |
430 | CodeInstrumentationReceiver::getInstance()->setExclusiveMethods( $arrExclusiveMethods ); | | |
431 | return $this; | | |
432 | } | | |
433 | | | |
434 | /** | | |
435 | * Get the exclusive methods of the diagram | | |
436 | * | | |
437 | * @see CodeToDiagram::setExclusiveMethods( String[] ) | | |
438 | * @see CodeInstrumentationReceiver::getExclusiveMethods() | | |
439 | * @return String[] $arrExclusiveMethods | | |
440 | */ | | |
441 | public function getExclusiveMethods() | | |
442 | { | | |
443 | return CodeInstrumentationReceiver::getInstance()->getExclusiveMethods(); | | |
444 | } | | |
445 | | | |
446 | /** | | |
447 | * Add some exclusive methods into the exclusive methods diagram list | | |
448 | * | | |
449 | * @see CodeToDiagram::setExclusiveMethods( String[] ) | | |
450 | * @see CodeToDiagram::getExclusiveMethods() | | |
451 | * @see CodeInstrumentationReceiver::setExclusiveMethods( String[] ) | | |
452 | * @see CodeInstrumentationReceiver::getExclusiveMethods() | | |
453 | * @param String $strExclusiveMethod | | |
454 | * @return CodeToDiagram me | | |
455 | */ | | |
456 | public function addExclusiveMethod( $strExclusiveMethod ) | | |
457 | { | | |
458 | CodeInstrumentationReceiver::getInstance()->addExclusiveMethod( $strExclusiveMethod ); | | |
459 | return $this; | | |
460 | } | | |
461 | | | |
462 | /** | | |
463 | * Set the exclusive methods Regex of the diagram | | |
464 | * | | |
465 | * @see CodeToDiagram::setExclusiveMethodsRegex( String[] ) | | |
466 | * @see CodeInstrumentationReceiver::setExclusiveMethodsRegex( String[] ) | | |
467 | * @param String[] $arrExclusiveMethodsRegex | | |
468 | * @return CodeToDiagram me | | |
469 | */ | | |
470 | public function setExclusiveMethodsRegex( array $arrExclusiveMethodsRegex ) | | |
471 | { | | |
472 | CodeInstrumentationReceiver::getInstance()->setExclusiveMethodsRegex( $arrExclusiveMethodsRegex ); | | |
473 | return $this; | | |
474 | } | | |
475 | | | |
476 | /** | | |
477 | * Get the exclusive methods Regex of the diagram | | |
478 | * | | |
479 | * @see CodeToDiagram::setExclusiveMethodsRegex( String[] ) | | |
480 | * @see CodeInstrumentationReceiver::getExclusiveMethodsRegex() | | |
481 | * @return String[] $arrExclusiveMethodsRegex | | |
482 | */ | | |
483 | public function getExclusiveMethodsRegex() | | |
484 | { | | |
485 | return CodeInstrumentationReceiver::getInstance()->getExclusiveMethodsRegex(); | | |
486 | } | | |
487 | | | |
488 | /** | | |
489 | * Add some exclusive methods Regex into the exclusive methods diagram list | | |
490 | * | | |
491 | * @see CodeToDiagram::setExclusiveMethodsRegex( String[] ) | | |
492 | * @see CodeToDiagram::getExclusiveMethodsRegex() | | |
493 | * @see CodeInstrumentationReceiver::setExclusiveMethodsRegex( String[] ) | | |
494 | * @see CodeInstrumentationReceiver::getExclusiveMethodsRegex() | | |
495 | * @param String $strExclusiveMethodRegex | | |
496 | * @return CodeToDiagram me | | |
497 | */ | | |
498 | public function addExclusiveMethodRegex( $strExclusiveMethodRegex ) | | |
499 | { | | |
500 | CodeInstrumentationReceiver::getInstance()->addExclusiveMethodRegex( $strExclusiveMethodRegex ); | | |
501 | return $this; | | |
502 | } | | |
503 | | | |
504 | /** | | |