for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Yarak\Exceptions;
use Exception;
class FileNotFound extends Exception
{
/**
* The services file can not be resolved.
*
* @param string $additional
* @return static
*/
public static function servicesFileNotFound($additional = '')
return new static(
'The services file could not be found at app/config/services.php.'.
$additional
);
}
* The migration file can not be found.
* @param string $migrationFileName
public static function migrationFileNotFound($migrationFileName, $path)
"The migration file {$migrationFileName} could not be found at {$path}."
* The seeder file can not be found.
* @param string $seeder
* @param string $path
public static function seederNotFound($seeder, $path)
"The seeder file {$seeder} could not be found in {$path}."
* The command file can not be found.
* @param string $command
public static function commandNotFound($command)
"The command {$command} could not be found."