Rev 1 |
     |
    Comparar con el anterior |
    Ultima modificación |
    Ver Log
    | 
  
  
  
     
        
        | Rev | Autor | Línea Nro. | Línea | 
     
     
        
           | 1 | efrain | 1 | <?php
 | 
        
           |  |  | 2 |   | 
        
           |  |  | 3 | declare(strict_types=1);
 | 
        
           |  |  | 4 |   | 
        
           |  |  | 5 | namespace OpenSpout\Writer\Exception\Border;
 | 
        
           |  |  | 6 |   | 
        
           |  |  | 7 | use OpenSpout\Common\Entity\Style\BorderPart;
 | 
        
           |  |  | 8 | use OpenSpout\Writer\Exception\WriterException;
 | 
        
           |  |  | 9 |   | 
        
           |  |  | 10 | final class InvalidNameException extends WriterException
 | 
        
           |  |  | 11 | {
 | 
        
           |  |  | 12 |     public function __construct(string $name)
 | 
        
           |  |  | 13 |     {
 | 
        
           |  |  | 14 |         $msg = '%s is not a valid name identifier for a border. Valid identifiers are: %s.';
 | 
        
           |  |  | 15 |   | 
        
           | 1441 | ariadna | 16 |         parent::__construct(\sprintf($msg, $name, implode(',', BorderPart::allowedNames)));
 | 
        
           | 1 | efrain | 17 |     }
 | 
        
           |  |  | 18 | }
 |