for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the Pixidos package.
*
* (c) Ondra Votava <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Pixidos\GPWebPay\Param;
use Pixidos\GPWebPay\Enum\DepositFlag as DepositFlagEnum;
use Pixidos\GPWebPay\Enum\Param;
class DepositFlag implements IParam
{
* @var DepositFlagEnum
private $value;
* DepositFlag constructor.
* @param DepositFlagEnum $flag
public function __construct(DepositFlagEnum $flag)
$this->value = $flag;
}
* @return string
public function __toString(): string
return (string)$this->value;
* @return DepositFlagEnum
public function getValue(): DepositFlagEnum
return $this->value;
public function getParamName(): string
return Param::DEPOSITFLAG;