for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Spatie\BladeJavaScript\Exceptions;
use Exception;
class Untransformable extends Exception
{
/**
* @param mixed $value
*
* @return static
*/
public static function noTransformerFound($value)
return new static("There is no transformer to transform {$value} to JavaScript.");
}
* @param mixed $object
public static function cannotTransformObject($object)
$objectString = print_r($object, true);
return new static("Cannot transform object {$objectString} to JavaScript.");