for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace NicolasBeauvais\LaravelBotScout;
class BotScoutValidator
{
/** @var BotScout */
protected $botScout;
/**
* BotScoutValidator constructor.
*/
public function __construct()
$this->botScout = app('laravel-botscout');
}
public function validateName($message, $attribute, $rule, $parameters) : bool
$message
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
$rule
$parameters
return $this->botScout->name($attribute)->isValid();
public function validateMail($message, $attribute, $rule, $parameters) : bool
return $this->botScout->mail($attribute)->isValid();
public function validateIp($message, $attribute, $rule, $parameters) : bool
return $this->botScout->ip($attribute)->isValid();
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.