画干扰弧线-可选
@return $this
978675
public function drawAec()
    {
        for ($i = 1; $i <= $this->aecNum; $i++) {
            $arcColor = imagecolorallocate($this->img, random_int(150, 250), random_int(150, 250), random_int(150, 250));
            imagearc(
                $this->img, random_int(0, $this->width), random_int(0, $this->height), random_int(0, 100),
                random_int(0, 100), random_int(-90, 90), random_int(70, 360), $arcColor
            );
        }

        return $this;
    }
408325
public function validate()
    {
        $context = array_merge(['input' => $this], $this->context);
        $values = $this->getValue();
        if (!is_array($values)) {
            $this->valid = $this->getValidationChain()
                ->validates($this->getValue(), $context);
            return $this;
        }
        $this->validateArray($values, $context);
        return $this;
    }
55550
public function name()
    {
        $args = func_get_args();
        $this->names = array_merge($this->names, $this->args_to_array($args));

        return $this;
    }
387307
public function load(): self
    {
        $this->loader = new Loader($this->files, true);
        $this->loader->load();

        return $this;
    }
93123
public function clear() {
		$this->_value = null;
		$this->getConnection()->getClient()->delete($this->name);
		return $this;
	}
662510
public function send()
    {
        $provider = $this->getProvider();
        if (!$provider) {
            throw new \RuntimeException('未设置短信供应商');
        }

        $provider->send($this);

        return $this;
    }
173578
public function bind()
    {
        if (func_num_args()) {
            $bindings = new Bindings(func_get_args(), $this->rules);
            $this->rules = $bindings->rules();
        }

        return $this;
    }
1314616
public function overload(): self
    {
        $this->loader = new Loader($this->files);
        $this->loader->load();

        return $this;
    }
314563
public static function this()
    {
        if (is_object(static::$node)) {
            return static::$node;
        }
        //else...
        list($config) = array_merge(func_get_args(), [null]);
        return static::$node = new static($config);
    }
680062
public function select()
    {

        $args = func_get_args();

        foreach ($args as $arg) {

            if (is_array($arg)) {
                $this->_source = array_merge($this->_source, $arg);
            } else {
                $this->_source[] = $arg;
            }

        }

        return $this;
    }
1029246
public function select()
    {
        $this->db->disconnect();

        $this->db->setDatabaseName($this->getName());

        return $this;
    }
381554
public function read()
    {
        $container = $this->getDao()->read();
        $this->setValues($container->getValues());
        return $this;
    }
431436
public function prepare()
    {
        if (null === $this->statement) {
            $this->statement = $this->db->prepare($this->getSql());
        }

        return $this;
    }
875529
public function show()
    {
        $this->block->collapse->attributes->removeAttributeClass('hide');
        $this->block->collapse->attributes->addAttributeClass('show');

        return $this;
    }
1198936
public function tinker()
    {
        \Psy\Shell::debug([
            'browser' => $this,
            'driver' => $this->driver,
            'resolver' => $this->resolver,
            'page' => $this->page,
        ], $this);

        return $this;
    }
55620
public function group_by()
	{
		$columns = func_get_args();

		$this->group_by = array_merge($this->group_by, $columns);

		return $this;
	}
1271088
public function validate()
    {
        foreach ($this as $element) {

            if (
                $element instanceof ValidationAwareInterface ||
                $element instanceof ContainerInterface
            ) {
                $element->validate();
            }
        }
        return $this;
    }