获得校验器定义

@param  string $name

@return array|string|callable|false
422702
protected function getValidatorDefine(string $name)
    {
        if (isset($this->builtinValidators[$name])) {
            return $this->builtinValidators[$name];
        }

        if (isset($this->customValidators[$name])) {
            return $this->customValidators[$name];
        }

        return false;
    }
954203
public function __isset($name) 
    {
        $getter = 'get' . $name;
        if (method_exists($this, $getter)) {
            return $this->$getter() !== null;
        }
        
        $name = strtolower($name);
        
        return array_key_exists($name, $this->attrs);
    }
409795
public function getAssignmentsByName($name)
    {
        $result = [];

        foreach ($this->getAssignments() as $assignment) {
            /* @var AssignmentElement $assignment */
            if ($assignment->getName() === $name) {
                $result[] = $assignment;
            }
        }

        return $result;
    }
714027
public static function get($name)
    {
        if (isset($_REQUEST[$name])) {
            return $_REQUEST[$name];
        }

        if (isset($_GET[$name])) {
            return $_GET[$name];
        }

        return;
    }
336908
public function __isset($name) {
        return isset($this->$name) ||
            ($getter = Toolkit::toCamelCase("get $name")) && method_exists($this, $getter);
    }
816909
public static function pull($name)
    {
        empty(self::$init) && self::init();

        $session = self::get($name);
        if ($session) {
            self::delete($name);
            return $session;
        }
        return false;
    }
840717
protected function doGet(string $name)
    {
        return isset($this->values[$name]) ? $this->values[$name] : null;
    }
1213420
public function getAnnotation($name)
    {
        $match = array();
        foreach ($this->getAnnotations() as $key => $annotation) {
            if ($annotation['name'] == $name) {
                $match['key'] = $key;
                $match['value'] = $annotation;
            }
        }
        return $match;
    }
434152
public function __isset($name)
    {
        $getter = 'get' . $name;
        if (method_exists($this, $getter)) {
            return $this->{$getter}() !== null;
        }

        if (is_array($this->entity)) {
            return isset($this->entity[$name]);
        }

        return isset($this->entity->{$name});
    }
805156
public static function get(string $name)
    {
        return (isset($_GET[$name]) && $_GET[$name] != '') ? $_GET[$name] : '';
    }
519198
public function getOption($name)
    {
        if (isset($this->options[$name])) {
            return $this->options[$name];
        }
        return false;
    }
950682
public function getByName($name)
    {
        return isset($this->names[$name]) ? $this->names[$name] : null;
    }
1047444
public function get($name)
    {
        return isset($this->value[$name])
            ? $this->value[$name]
            : null;
    }
967877
public function remove($name)
    {
        $this->instance->unlock();
        $result = $this->instance->remove($name);
        $this->instance->lock();
        return $result;
    }
1227216
public function get_module( $name ) {
		if ( null === $name ) {
			return false;
		}
		if ( isset( $this->modules[ $name ] ) ) {
			return $this->modules[ $name ];
		}
		$name = "\\{$name}";
		if ( isset( $this->modules[ $name ] ) ) {
			return $this->modules[ $name ];
		}

		return false;
	}
62788
public function getFunction($name)
    {
        $name = $this->getShortcut($name);

        // Check if we have looked this alias up before
        if ($function = $this->getLookup($name)) {
            return $function;
        }

        // Get the class / method we are trying to call
        $parts = $this->getAliasParts($name);

        if ($parts === false) {
            return false;
        }

        list($class, $method) = $parts;
        $class = strtolower($class);

        // Does that alias exist
        if (array_key_exists($class, $this->aliases)) {

            $class    = $this->aliases[$class];
            $function = new TwigFunction($name, $class.'::'.$method);

            $this->setLookup($name, $function);

            return $function;
        }

        return false;
    }
329709
public function getIs( $name )
	{
		if( ! is_array($name) )
		{
			if( func_num_args() == 1 )
			{
				return $this->offsetExists($name);
			}
			else
			{
				$name = func_get_args();
			}
		}

		foreach($name as $value)
		{
			if (! $this->offsetExists($value))
			{
				return false;
			}
		}

		return true;
	}