for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* ShouldPHP
*
* @author Gabriel Jacinto <[email protected]>
* @status dev
* @link https://github.com/GabrielJMJ/ShouldPHP
* @license MIT
*/
namespace Gabrieljmj\Should\Exception;
use Gabrieljmj\Should\Exception\ExceptionCodes;
class InvalidVisibilityTypeException extends \InvalidArgumentException
{
public static function trigger($type)
throw new InvalidVisibilityTypeException('Invalid visibility type: ' . $type, ExceptionCodes::INVALID_VISIBILITY_TYPE);
}