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); /** * Passbolt ~ Open source password manager for teams ..
Decoded Output download
<?php
declare(strict_types=1);
/**
* Passbolt ~ Open source password manager for teams
* Copyright (c) Passbolt SA (https://www.passbolt.com)
*
* Licensed under GNU Affero General Public License version 3 of the or any later version.
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright (c) Passbolt SA (https://www.passbolt.com)
* @license https://opensource.org/licenses/AGPL-3.0 AGPL License
* @link https://www.passbolt.com Passbolt(tm)
* @since 4.1.0
*/
namespace App\ServiceProvider;
use App\Service\Groups\GroupsUpdateService;
use App\Service\Resources\PasswordExpiryDefaultValidationService;
use App\Service\Resources\PasswordExpiryValidationServiceInterface;
use App\Service\Resources\ResourcesAddService;
use App\Service\Resources\ResourcesExpireResourcesFallbackServiceService;
use App\Service\Resources\ResourcesExpireResourcesServiceInterface;
use App\Service\Resources\ResourcesShareService;
use App\Service\Resources\ResourcesUpdateService;
use Cake\Core\ContainerInterface;
use Cake\Core\ServiceProvider;
class ResourceServiceProvider extends ServiceProvider
{
protected $provides = [
PasswordExpiryValidationServiceInterface::class,
ResourcesExpireResourcesServiceInterface::class,
ResourcesAddService::class,
ResourcesUpdateService::class,
GroupsUpdateService::class,
ResourcesShareService::class,
];
/**
* @inheritDoc
*/
public function services(ContainerInterface $container): void
{
$container->add(
PasswordExpiryValidationServiceInterface::class,
PasswordExpiryDefaultValidationService::class
);
$container->add(
ResourcesExpireResourcesServiceInterface::class,
ResourcesExpireResourcesFallbackServiceService::class
);
$container->add(ResourcesAddService::class);
$container->add(ResourcesUpdateService::class);
$container
->add(GroupsUpdateService::class)
->addArgument(ResourcesExpireResourcesServiceInterface::class);
$container
->add(ResourcesShareService::class)
->addArgument(ResourcesExpireResourcesServiceInterface::class);
}
}
?>
Did this file decode correctly?
Original Code
<?php
declare(strict_types=1);
/**
* Passbolt ~ Open source password manager for teams
* Copyright (c) Passbolt SA (https://www.passbolt.com)
*
* Licensed under GNU Affero General Public License version 3 of the or any later version.
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright (c) Passbolt SA (https://www.passbolt.com)
* @license https://opensource.org/licenses/AGPL-3.0 AGPL License
* @link https://www.passbolt.com Passbolt(tm)
* @since 4.1.0
*/
namespace App\ServiceProvider;
use App\Service\Groups\GroupsUpdateService;
use App\Service\Resources\PasswordExpiryDefaultValidationService;
use App\Service\Resources\PasswordExpiryValidationServiceInterface;
use App\Service\Resources\ResourcesAddService;
use App\Service\Resources\ResourcesExpireResourcesFallbackServiceService;
use App\Service\Resources\ResourcesExpireResourcesServiceInterface;
use App\Service\Resources\ResourcesShareService;
use App\Service\Resources\ResourcesUpdateService;
use Cake\Core\ContainerInterface;
use Cake\Core\ServiceProvider;
class ResourceServiceProvider extends ServiceProvider
{
protected $provides = [
PasswordExpiryValidationServiceInterface::class,
ResourcesExpireResourcesServiceInterface::class,
ResourcesAddService::class,
ResourcesUpdateService::class,
GroupsUpdateService::class,
ResourcesShareService::class,
];
/**
* @inheritDoc
*/
public function services(ContainerInterface $container): void
{
$container->add(
PasswordExpiryValidationServiceInterface::class,
PasswordExpiryDefaultValidationService::class
);
$container->add(
ResourcesExpireResourcesServiceInterface::class,
ResourcesExpireResourcesFallbackServiceService::class
);
$container->add(ResourcesAddService::class);
$container->add(ResourcesUpdateService::class);
$container
->add(GroupsUpdateService::class)
->addArgument(ResourcesExpireResourcesServiceInterface::class);
$container
->add(ResourcesShareService::class)
->addArgument(ResourcesExpireResourcesServiceInterface::class);
}
}
Function Calls
None |
Stats
MD5 | 7e054c66dabac9f0d00a0ba7e62ec099 |
Eval Count | 0 |
Decode Time | 77 ms |