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\Notifier\Bridge\MicrosoftTeams\Action\Input;
/**
* @author Edouard Lescot <[email protected]>
* @author Oskar Stark <[email protected]>
*
* @see https://docs.microsoft.com/en-us/outlook/actionable-messages/message-card-reference#textinput
*/
final class TextInput extends AbstractInput
{
private array $options = [];
/**
* @return $this
*/
public function isMultiline(bool $multiline): static
{
$this->options['isMultiline'] = $multiline;
return $this;
}
/**
* @return $this
*/
public function maxLength(int $maxLength): static
{
$this->options['maxLength'] = $maxLength;
return $this;
}
public function toArray(): array
{
return parent::toArray() + $this->options + ['@type' => 'TextInput'];
}
}
?>
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\Notifier\Bridge\MicrosoftTeams\Action\Input;
/**
* @author Edouard Lescot <[email protected]>
* @author Oskar Stark <[email protected]>
*
* @see https://docs.microsoft.com/en-us/outlook/actionable-messages/message-card-reference#textinput
*/
final class TextInput extends AbstractInput
{
private array $options = [];
/**
* @return $this
*/
public function isMultiline(bool $multiline): static
{
$this->options['isMultiline'] = $multiline;
return $this;
}
/**
* @return $this
*/
public function maxLength(int $maxLength): static
{
$this->options['maxLength'] = $maxLength;
return $this;
}
public function toArray(): array
{
return parent::toArray() + $this->options + ['@type' => 'TextInput'];
}
}
Function Calls
None |
Stats
MD5 | a569dbe949134317ab98c63836aa1d92 |
Eval Count | 0 |
Decode Time | 98 ms |