for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the Laravel Auditing package.
*
* @author Antério Vieira <[email protected]>
* @author Quetzy Garcia <[email protected]>
* @author Raphael França <[email protected]>
* @copyright 2015-2018
* For the full copyright and license information,
* please view the LICENSE.md file that was distributed
* with this source code.
*/
namespace OwenIt\Auditing\Encoders;
class Base64Encoder implements \OwenIt\Auditing\Contracts\AttributeEncoder
{
* {@inheritdoc}
public static function encode($value): string
return base64_encode($value);
}
public static function decode($value): string
return base64_decode($value);