code: public function analyze(\Closure $closure)
      {
          $data = [
              'reflection' => new \ReflectionFunction($closure),
              'code'       => null,
              'hasThis'    => false,
              'context'    => [],
              'hasRefs'    => false,
              'binding'    => null,
              'scope'      => null,
              'isStatic'   => $this->isClosureStatic($closure),
          ];
  
          $this->determineCode($data);
          $this->determineContext($data);
          $this->determineBinding($data);
  
          return $data;
      }
docs: Analyzer a given closure.
  
  @param \Closure $closure
  
  @throws ClosureAnalysisException
  
  @return array