make( $this->sanitizeInput(), $this->container->call([$this, 'rules']), $this->messages() ); } /** * Sanitize the input. * * @return array */ protected function sanitizeInput() { if (method_exists($this, 'sanitize')) { return $this->container->call([$this, 'sanitize']); } return $this->all(); } }