Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Returns an array comprising a function's argument list
<?php func_get_args(): array
<?php     public function has($ability)

    {

        $abilities = is_array($ability) ? $ability : func_get_args();



        foreach ($abilities as $ability) {

            if (! isset($this->abilities[$ability])) {
<?php             $policy = $this->resolvePolicy($class);



            $arguments = func_get_args();



            $user = array_shift($arguments);
<?php             }



            return isset($method)

                    ? $policy->{$method}(...func_get_args())

                    : $policy(...func_get_args());

        };

    }
<?php             return isset($method)

                    ? $policy->{$method}(...func_get_args())

                    : $policy(...func_get_args());

        };

    }
<?php     public static function using($guard = null, $field = null)

    {

        return static::class.':'.implode(',', func_get_args());

    }
<?php     public static function using($redirectToRoute = null, $passwordTimeoutSeconds = null)

    {

        return static::class.':'.implode(',', func_get_args());

    }
<?php     public function tags($names)

    {

        return new RedisTaggedCache(

            $this, new RedisTagSet($this, is_array($names) ? $names : func_get_args())

        );

    }
<?php             throw new BadMethodCallException('This cache store does not support tagging.');

        }



        $cache = $this->store->tags(is_array($names) ? $names : func_get_args());



        $cache->config = $this->config;
<?php     public function tags($names)

    {

        return new TaggedCache($this, new TagSet($this, is_array($names) ? $names : func_get_args()));

    }

}
<?php             return in_array($key, $this->items);

        }



        return $this->contains($this->operatorForWhere(...func_get_args()));

    }
<?php     public function doesntContain($key, $operator = null, $value = null)

    {

        return ! $this->contains(...func_get_args());

    }
<?php         if ($keys instanceof Enumerable) {

            $keys = $keys->all();

        } elseif (! is_array($keys)) {

            $keys = func_get_args();

        }



        return new static(Arr::except($this->items, $keys));
<?php     public function has($key)

    {

        $keys = is_array($key) ? $key : func_get_args();



        foreach ($keys as $value) {

            if (! array_key_exists($value, $this->items)) {
<?php             return false;

        }



        $keys = is_array($key) ? $key : func_get_args();



        foreach ($keys as $value) {

            if ($this->has($value)) {
<?php             $keys = $keys->all();

        }



        $keys = is_array($keys) ? $keys : func_get_args();



        return new static(Arr::only($this->items, $keys));

    }