1: <?php
 2: 
 3:  4:  5:  6:  7:  8:  9: 10: 
11: namespace expect\config;
12: 
13: use RuntimeException;
14: 
15: class NotAvailableException extends RuntimeException
16: {
17:     public static function createForReporter($interface)
18:     {
19:         return new self("Reporter is not available.\nBecause it is because do not implement the {$interface}.");
20:     }
21: 
22:     public static function createForPackage($interface)
23:     {
24:         return new self("Package is not available.\nBecause it is because do not implement the {$interface}.");
25:     }
26: }
27: