rock\sanitize\rules\Call::__construct PHP Method

__construct() public method

public __construct ( callable $call, array $args = null, $config = [] )
$call callable
$args array
    public function __construct(callable $call, array $args = null, $config = [])
    {
        $this->parentConstruct($config);
        $this->call = $call;
        if (!empty($args)) {
            $this->args = $args;
        }
    }