for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Validation;
/**
* Class AssetExistsValidator
* @package App\Validation
*/
class AssetExistsValidator
{
* @param $attribute
* @param $value
* @param $parameters
* @return string
public function validate($attribute, $value, $parameters)
$attribute
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
$parameters
return realpath(public_path() . DIRECTORY_SEPARATOR . $value);
}
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.