@param string $name
@param mixed  $value
@param mixed  $type

@return bool
553913
public function bindValue($name, $value, $type = null)
    {
        return $this->stmt->bindValue($name, $value, $type);
    }
381987
public function bindValue($parameter, $value, $type = null)
    {
        return $this->bindParam($parameter, $value, $type);
    }
598883
public static function isExistByNameType( $name, $type, $config = [] ) {

		$model	= self::findByNameType( $name, $type, $config );

		return isset( $model );
	}
359025
private function isBlock($type, $value = NULL)
    {
        return $this->_current == $type
        && (NULL === $value ? true : $this->_blocks[$this->_pos][3] == $value);
    }
1214687
public function remove( $type, $name ) {
		if ( ! $this->exists( $type, $name ) ) {
			return false;
		}

		$pattern  = sprintf( '/(?<=^|;|<\?php\s|<\?\s)%s\s*(\S|$)/m', preg_quote( $this->wp_configs[ $type ][ $name ]['src'], '/' ) );
		$contents = preg_replace( $pattern, '$1', $this->wp_config_src );

		return $this->save( $contents );
	}
847025
public function input($type, $name, $value = null, array $attributes = [])
    {
        $tag = new Tag('input', $attributes);
        $tag->type = $type;
        $tag->name = $name;
        $tag->value = $value;
        return $tag;
    }
1372038
public static function invalidType($name, $value, $expectedType)
    {
        return new static(sprintf('Expected %s to have type "%s" but found "%s"', $name, $expectedType, is_object($value) ? get_class($value) : gettype($value)));
    }
217654
protected function materialDesignColorPalette($type, $name, $value) {

        $color = $this->getColors()[0];

        foreach ($this->getColors() as $current) {
            if ($name !== $current->getName()) {
                continue;
            }
            $color = $current;
        }

        $html = [];

        $html[] = "mdc";
        $html[] = $type;
        $html[] = $color->getName();
        if (null !== $value && true === array_key_exists($value, $color->getColors())) {
            $html[] = $value;
        }

        return implode("-", $html);
    }
17158
public function acceptNext(int $type, $value = null) : bool
    {
        if ($this->getNextToken()->getType() === $type) {
            if ($value) {
                if ($this->getNextToken()->getValue() === $value) {
                    return true;
                }

                return false;
            }

            return true;
        }

        return false;
    }
619259
public function setValue($name, $value)
    {
        // handle field
        if (static::fieldExists($name)) {
            $this->_setFieldValue($name, $value);
        }
        // undefined
        else {
            return false;
        }
    }
429570
public static function remove($type, $name)
    {
        if (isset(self::$data[$type]['header'][$name])) {
            unset(self::$data[$type]['header'][$name]);

            return true;
        } elseif (isset(self::$data[$type]['footer'][$name])) {
            unset(self::$data[$type]['footer'][$name]);

            return true;
        }

        return false;
    }
691825
public function type($name, $value)
    {
        $schema = Config::table($this->name)->schema();
        if (array_key_exists($name, $schema) && (null === $value || $schema[$name] == gettype($value)))
        {
            return TRUE;
        }

        throw new LazerException('Wrong data type');
    }
408190
public function equals($type, $value = null)
    {
        return $this->is($type) && $value === $this->value;
    }
134425
public function input($type, $name, $value = '', $options = [])
    {
        if (!isset($options['id'])) {
            $options['id'] = $name;
        }

        if (!empty($value)) {
            $options['value'] = $value;
        }

        $options['type'] = $type;
        $options['name'] = $name;

        return '<input'.$this->attributes($options).'>';
    }
67778
public static function checkType($name, $type, $value) {
    $given_type = self::getType($value);
    if ($given_type !== $type) {
      $value = $value instanceof Atom ? $value->toJson() : json_encode($value);
      throw new \UnexpectedValueException("`$value` should be a `$type` not `$given_type`. If you're decoding JSON, make sure you're using valid JSON.");
    }
  }
163969
public function bind_value( string $name, $value, $data_type = false ) {
		$this->values_to_bind[ $name ] = array(
			'value'     => $value,
			'data_type' => $data_type,
		);
	}
1095850
protected function filterByTranslatableColumn($name, $type, $value)
    {
        $translation = $this->model->getTranslationModel();

        return $this->query->whereHas('translations', function ($query) use ($translation, $name, $type, $value) {
            return $query = $this->applyQueryElementByType($query, $translation->getTable(), $name, $type, $value);
        });
    }