root/components/codeToDiagram/CodeToDiagram.class.php

116142
249
	}
249
	}
250
250
251
	/**
251
	/**
252
	 * Set the ignored classes of the diagram
252
	 * Set the gate keeper classes
253
	 *
253
	 *
254
	 * @see CodeToDiagram::getIgnoredClasses()
254
	 * @see CodeToDiagram::getGatekeeperClasses()
255
	 * @see CodeInstrumentationReceiver::setIgnoredClasses( String[] )
255
	 * @see CodeInstrumentationReceiver::setGatekeeperClasses( MatchGatekeeper )
256
	 * @param String[] $arrIgnoredClasses
256
	 * @param MatchGatekeeper $objGatekeeperClasses
257
	 * @return CodeToDiagram me
257
	 * @return CodeToDiagram me
258
	 */
258
	 */
259
	public function setIgnoredClasses( array $arrIgnoredClasses )
259
	public function setGatekeeperClasses( MatchGatekeeper $objGatekeeperClasses )
260
	{
260
	{
261
		CodeInstrumentationReceiver::getInstance()->setIgnoredClasses( $arrIgnoredClasses );
261
        CodeInstrumentationReceiver::getInstance()->setGatekeeperClasses( $objGatekeeperClasses );
262
		return $this;
262
		return $this;
263
	 }
263
	 }
264
264
265
	 /**
265
	 /**
266
	  * Get the ignored classes of the diagram
266
	  * Get the gate keeper classes
267
	  *
267
	  *
268
	  * @see CodeToDiagram::setIgnoredClasses( String[] )
268
	  * @see CodeToDiagram::setGatekeeperClasses( MatchGatekeeper )
269
	  * @see CodeInstrumentationReceiver::getIgnoredClasses()
269
	  * @see CodeInstrumentationReceiver::setGatekeeperClasses()
270
	  * @return String[] $arrIgnoredClasses
270
	  * @return MatchGatekeeper
271
	  */
271
	  */
272
	 public function getIgnoredClasses()
272
	 public function getGatekeeperClasses()
273
	 {
273
	 {
274
		 return CodeInstrumentationReceiver::getInstance()->getIgnoredClasses();
274
		 return CodeInstrumentationReceiver::getInstance()->getGatekeeperClasses();
275
	 }
275
	 }
276
276
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
307
	 /**
277
	 /**
308
	  * Get the ignored methods of the diagram
278
	  * Get the gate keeper methods
309
	  *
279
	  *
310
	  * @see CodeToDiagram::setIgnoredMethods( String[] )
280
	  * @see CodeToDiagram::setGatekeeperMethods( MatchGatekeeper )
311
	  * @see CodeInstrumentationReceiver::getIgnoredMethods()
281
	  * @see CodeInstrumentationReceiver::getGatekeeperMethods()
312
	  * @return String[] $arrIgnoredMethods
282
	  * @return MatchGatekeeper
313
	  */
283
	  */
314
	 public function getIgnoredMethods()
284
	 public function getGatekeeperMethods()
315
	 {
285
	 {
316
		 return CodeInstrumentationReceiver::getInstance()->getIgnoredMethods();
286
         return CodeInstrumentationReceiver::getInstance()->getGatekeeperMethods();
317
	 }
287
	 }
318
288
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
349
	 /**
289
	 /**
350
	  * Get the ignored methods Regex of the diagram
290
	  * Set the gate keeper methods
351
	  *
291
	  *
352
	  * @see CodeToDiagram::setIgnoredMethodsRegex( String[] )
292
	  * @see CodeToDiagram::getGatekeeperMethods()
353
	  * @see CodeInstrumentationReceiver::getIgnoredMethodsRegex()
293
	  * @see CodeInstrumentationReceiver::setGatekeeperMethods( MatchGatekeeper )
354
	  * @return String[] $arrIgnoredMethodsRegex
294
	  * @param MatchGatekeeper $objGatekeeperMethods
295
	  * @return CodeToDiagram me
355
	  */
296
	  */
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 );
374
		return $this;
300
		return $this;
375
	}
376
377
	 /**
378
	 * Set the exclusive classes of the diagram
379
	 *
380
	 * @see CodeToDiagram::setExclusiveClasses( String[] )
381
	 * @see CodeInstrumentationReceiver::setExclusiveClasses( String[] )
382
	 * @param String[] $arrExclusiveClasses
383
	 * @return CodeToDiagram me
384
	 */
385
	public function setExclusiveClasses( array $arrExclusiveClasses )
386
	{
387
		CodeInstrumentationReceiver::getInstance()->setExclusiveClasses( $arrExclusiveClasses );
388
		return $this;
389
	 }
301
	 }
390
302
391
	 /**
303
	 /**
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
	 /**
505
	 * Set the output type of the diagram.;
304
	 * Set the output type of the diagram.;
506
	 *
305
	 *
507
	 * The output type it is how the class should deal with the result of the printer
306
	 * The output type it is how the class should deal with the result of the printer