Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/mautic.corals.io/app/bundles/LeadBundle/Event/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/mautic.corals.io/app/bundles/LeadBundle/Event/LeadBuildSearchEvent.php
<?php

namespace Mautic\LeadBundle\Event;

use Doctrine\DBAL\Query\QueryBuilder;
use Mautic\CoreBundle\Event\CommonEvent;

class LeadBuildSearchEvent extends CommonEvent
{
    protected string $subQuery;

    protected bool $isSearchDone;

    protected bool $returnParameters;

    protected bool $strict;

    protected array $parameters;

    /**
     * @param string $string
     * @param string $command
     * @param string $alias
     */
    public function __construct(
        protected $string,
        protected $command,
        protected $alias,
        protected bool $negate,
        protected QueryBuilder $queryBuilder
    ) {
        $this->subQuery         = '';
        $this->isSearchDone     = false;
        $this->strict           = false;
        $this->returnParameters = false;
        $this->parameters       = [];
    }

    /**
     * @return string
     */
    public function getString()
    {
        return $this->string;
    }

    /**
     * @return string
     */
    public function getCommand()
    {
        return $this->command;
    }

    /**
     * @return string
     */
    public function getAlias()
    {
        return $this->alias;
    }

    public function isNegation(): bool
    {
        return $this->negate;
    }

    /**
     * @return QueryBuilder
     */
    public function getQueryBuilder()
    {
        return $this->queryBuilder;
    }

    /**
     * @param bool $status
     */
    public function setSearchStatus($status): void
    {
        $this->isSearchDone = $status;
    }

    /**
     * @param string $query
     */
    public function setSubQuery($query): void
    {
        $this->subQuery = $query;

        $this->setSearchStatus(true);
    }

    public function isSearchDone(): bool
    {
        return $this->isSearchDone;
    }

    public function getSubQuery(): string
    {
        return $this->subQuery;
    }

    /**
     * @param array $string
     */
    public function setString($string): void
    {
        $this->string = $string;
    }

    public function getStrict(): bool
    {
        return $this->strict;
    }

    /**
     * @param bool $val
     */
    public function setStrict($val): void
    {
        $this->strict = $val;
    }

    public function getReturnParameters(): bool
    {
        return $this->returnParameters;
    }

    /**
     * @param bool $val
     */
    public function setReturnParameters($val): void
    {
        $this->returnParameters = $val;
    }

    /**
     * @return array
     */
    public function getParameters()
    {
        return $this->parameters;
    }

    /**
     * @param array $val
     */
    public function setParameters($val): void
    {
        $this->parameters = $val;
    }
}

Spamworldpro Mini