for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* SMS provider query condition field file.
*
* @package UIType
* @copyright YetiForce S.A.
* @license YetiForce Public License 5.0 (licenses/LicenseEN.txt or yetiforce.com)
* @author Adrian Kon <[email protected]>
*/
namespace App\Conditions\QueryFields;
* SMS provider query condition field class.
class SmsProviderField extends BaseField
{
/** {@inheritdoc} */
public function getValue()
if (\is_array($this->value)) {
return $this->value;
}
return explode('##', $this->value);
public function getOperator(): string
return 'a' === $this->operator ? 'e' : $this->operator;