PHP Class Nelmio\Alice\Throwable\Exception\Parser\ParseExceptionFactory

Afficher le fichier Open project: nelmio/alice Class Usage Examples

Méthodes publiques

Méthode Description
createForInvalidYaml ( string $file, integer $code, Throwable $previous = null ) : UnparsableFileException
createForParserNoFoundForFile ( string $file ) : ParserNotFoundException
createForUnparsableFile ( string $file, integer $code, Throwable $previous = null ) : UnparsableFileException

Method Details

createForInvalidYaml() public static méthode

public static createForInvalidYaml ( string $file, integer $code, Throwable $previous = null ) : UnparsableFileException
$file string
$code integer
$previous Throwable
Résultat UnparsableFileException

createForParserNoFoundForFile() public static méthode

public static createForParserNoFoundForFile ( string $file ) : ParserNotFoundException
$file string
Résultat ParserNotFoundException

createForUnparsableFile() public static méthode

public static createForUnparsableFile ( string $file, integer $code, Throwable $previous = null ) : UnparsableFileException
$file string
$code integer
$previous Throwable
Résultat UnparsableFileException