for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Phpml\Exception;
class PersistenceException extends \Exception
{
/**
* @param string $filepath
*
* @return PersistenceException
*/
public static function cantUnserialize(string $filepath)
return new self(sprintf('"%s" can not be unserialized.', $filepath));
}