Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php declare(strict_types=1); use App\Service\ResourceTypes\ResourceTypesTrimSpacesServi..
Decoded Output download
<?php
declare(strict_types=1);
use App\Service\ResourceTypes\ResourceTypesTrimSpacesService;
use Cake\Log\Log;
use Migrations\AbstractMigration;
class V380TrimSpacesOnResourceTypesNameAndSlug extends AbstractMigration
{
/**
* Change Method.
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-change-method
* @return void
*/
public function change()
{
try {
(new ResourceTypesTrimSpacesService())->trim();
} catch (Throwable $e) {
Log::error('There was an error in V380TrimSpacesOnResourceTypesNameAndSlug');
Log::error($e->getMessage());
}
}
}
?>
Did this file decode correctly?
Original Code
<?php
declare(strict_types=1);
use App\Service\ResourceTypes\ResourceTypesTrimSpacesService;
use Cake\Log\Log;
use Migrations\AbstractMigration;
class V380TrimSpacesOnResourceTypesNameAndSlug extends AbstractMigration
{
/**
* Change Method.
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-change-method
* @return void
*/
public function change()
{
try {
(new ResourceTypesTrimSpacesService())->trim();
} catch (Throwable $e) {
Log::error('There was an error in V380TrimSpacesOnResourceTypesNameAndSlug');
Log::error($e->getMessage());
}
}
}
Function Calls
None |
Stats
MD5 | 208d1ec305596f83b9e74d4c7fc337a1 |
Eval Count | 0 |
Decode Time | 94 ms |