code: public function parse($text)
      {
          $statements = array();
          foreach ($this->splitStatements($text) as $chunk) {
              if ($statement = $this->statement($chunk)) {
                  $statements[] = $statement;
              }
          }
  
          return $statements;
      }
docs: Parse an MT940 document
  
  @param string $text Full document text
  @return array An array of \Jejik\MT940\Statement