original_string: public function toString($format = 'ignored')
      {
          $this->generate();
  
          $stringMonth = array();
          foreach ($this->subperiods as $month) {
              $stringMonth[] = $month->getDateStart()->toString("Y") . "-" . $month->getDateStart()->toString("m") . "-01";
          }
  
          return $stringMonth;
      }
code: public function toString($format = 'ignored')
      {
          $this->generate();
  
          $stringMonth = array();
          foreach ($this->subperiods as $month) {
              $stringMonth[] = $month->getDateStart()->toString("Y") . "-" . $month->getDateStart()->toString("m") . "-01";
          }
  
          return $stringMonth;
      }
code_tokens: public function toString ( $ format = 'ignored' ) { $ this -> generate ( ) ; $ stringMonth = array ( ) ; foreach ( $ this -> subperiods as $ month ) { $ stringMonth [ ] = $ month -> getDateStart ( ) -> toString ( "Y" ) . "-" . $ month -> getDateStart ( ) -> toString ( "m" ) . "-01" ; } return $ stringMonth ; }
docstring: Returns the current period as a string
  
  @param string $format
  @return array
docstring_tokens: Returns the current period as a string