Skip to content

Commit

Permalink
🚧 Inertia resource
Browse files Browse the repository at this point in the history
  • Loading branch information
juzaweb committed Sep 2, 2023
1 parent 8f411bf commit 5d2f2f4
Showing 1 changed file with 0 additions and 200 deletions.
200 changes: 0 additions & 200 deletions _ide_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -15639,206 +15639,6 @@ public static function flushMacros()
}
}

/**
*
*
* @see \Illuminate\Validation\Factory
*/
class Validator
{
/**
* Create a new Validator instance.
*
* @param array $data
* @param array $rules
* @param array $messages
* @param array $customAttributes
* @return \Illuminate\Validation\Validator
* @static
*/
public static function make($data, $rules, $messages = [], $customAttributes = [])
{
/** @var \Illuminate\Validation\Factory $instance */
return $instance->make($data, $rules, $messages, $customAttributes);
}

/**
* Validate the given data against the provided rules.
*
* @param array $data
* @param array $rules
* @param array $messages
* @param array $customAttributes
* @return array
* @throws \Illuminate\Validation\ValidationException
* @static
*/
public static function validate($data, $rules, $messages = [], $customAttributes = [])
{
/** @var \Illuminate\Validation\Factory $instance */
return $instance->validate($data, $rules, $messages, $customAttributes);
}

/**
* Register a custom validator extension.
*
* @param string $rule
* @param \Closure|string $extension
* @param string|null $message
* @return void
* @static
*/
public static function extend($rule, $extension, $message = null)
{
/** @var \Illuminate\Validation\Factory $instance */
$instance->extend($rule, $extension, $message);
}

/**
* Register a custom implicit validator extension.
*
* @param string $rule
* @param \Closure|string $extension
* @param string|null $message
* @return void
* @static
*/
public static function extendImplicit($rule, $extension, $message = null)
{
/** @var \Illuminate\Validation\Factory $instance */
$instance->extendImplicit($rule, $extension, $message);
}

/**
* Register a custom dependent validator extension.
*
* @param string $rule
* @param \Closure|string $extension
* @param string|null $message
* @return void
* @static
*/
public static function extendDependent($rule, $extension, $message = null)
{
/** @var \Illuminate\Validation\Factory $instance */
$instance->extendDependent($rule, $extension, $message);
}

/**
* Register a custom validator message replacer.
*
* @param string $rule
* @param \Closure|string $replacer
* @return void
* @static
*/
public static function replacer($rule, $replacer)
{
/** @var \Illuminate\Validation\Factory $instance */
$instance->replacer($rule, $replacer);
}

/**
* Indicate that unvalidated array keys should be included in validated data when the parent array is validated.
*
* @return void
* @static
*/
public static function includeUnvalidatedArrayKeys()
{
/** @var \Illuminate\Validation\Factory $instance */
$instance->includeUnvalidatedArrayKeys();
}

/**
* Indicate that unvalidated array keys should be excluded from the validated data, even if the parent array
* was validated.
*
* @return void
* @static
*/
public static function excludeUnvalidatedArrayKeys()
{
/** @var \Illuminate\Validation\Factory $instance */
$instance->excludeUnvalidatedArrayKeys();
}

/**
* Set the Validator instance resolver.
*
* @param \Closure $resolver
* @return void
* @static
*/
public static function resolver($resolver)
{
/** @var \Illuminate\Validation\Factory $instance */
$instance->resolver($resolver);
}

/**
* Get the Translator implementation.
*
* @return \Illuminate\Contracts\Translation\Translator
* @static
*/
public static function getTranslator()
{
/** @var \Illuminate\Validation\Factory $instance */
return $instance->getTranslator();
}

/**
* Get the Presence Verifier implementation.
*
* @return \Illuminate\Validation\PresenceVerifierInterface
* @static
*/
public static function getPresenceVerifier()
{
/** @var \Illuminate\Validation\Factory $instance */
return $instance->getPresenceVerifier();
}

/**
* Set the Presence Verifier implementation.
*
* @param \Illuminate\Validation\PresenceVerifierInterface $presenceVerifier
* @return void
* @static
*/
public static function setPresenceVerifier($presenceVerifier)
{
/** @var \Illuminate\Validation\Factory $instance */
$instance->setPresenceVerifier($presenceVerifier);
}

/**
* Get the container instance used by the validation factory.
*
* @return \Illuminate\Contracts\Container\Container|null
* @static
*/
public static function getContainer()
{
/** @var \Illuminate\Validation\Factory $instance */
return $instance->getContainer();
}

/**
* Set the container instance used by the validation factory.
*
* @param \Illuminate\Contracts\Container\Container $container
* @return \Illuminate\Validation\Factory
* @static
*/
public static function setContainer($container)
{
/** @var \Illuminate\Validation\Factory $instance */
return $instance->setContainer($container);
}
}

/**
*
*
Expand Down

0 comments on commit 5d2f2f4

Please sign in to comment.