src/Analyzers/Analyzer.php
public function analyze(RecordedGame $game)
    {
        $this->rec = $game;
        $this->header = $game->getHeaderContents();
        $this->body = $game->getBodyContents();
        $this->headerSize = strlen($this->header);
        $this->bodySize = strlen($this->body);

        return $this->run();
    }
public function analyze(RecordedGame $game)
    {
        $this->rec = $game;
        $this->header = $game->getHeaderContents();
        $this->body = $game->getBodyContents();
        $this->headerSize = strlen($this->header);
        $this->bodySize = strlen($this->body);

        return $this->run();
    }
public function analyze ( RecordedGame $ game ) { $ this -> rec = $ game ; $ this -> header = $ game -> getHeaderContents ( ) ; $ this -> body = $ game -> getBodyContents ( ) ; $ this -> headerSize = strlen ( $ this -> header ) ; $ this -> bodySize = strlen ( $ this -> body ) ; return $ this -> run ( ) ; }
Run this analysis on a recorded game.

@param \RecAnalyst\RecordedGame  $game  Recorded game to analyze.
@return mixed Result of the analysis.
Run this analysis on a recorded game .