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 /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@..
Decoded Output download
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Workflow\Tests;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Workflow\Transition;
class TransitionTest extends TestCase
{
public function testConstructor()
{
$transition = new Transition('name', 'a', 'b');
$this->assertSame('name', $transition->getName());
$this->assertSame(['a'], $transition->getFroms());
$this->assertSame(['b'], $transition->getTos());
}
}
?>
Did this file decode correctly?
Original Code
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Workflow\Tests;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Workflow\Transition;
class TransitionTest extends TestCase
{
public function testConstructor()
{
$transition = new Transition('name', 'a', 'b');
$this->assertSame('name', $transition->getName());
$this->assertSame(['a'], $transition->getFroms());
$this->assertSame(['b'], $transition->getTos());
}
}
Function Calls
None |
Stats
MD5 | 484eb86f371aa88fb21d2584a7462c7b |
Eval Count | 0 |
Decode Time | 67 ms |