public function parseEntity(StartRecordFormat $entity) {

        $output = [
            $this->encodeInteger($entity->getVersionRecordStructure(), 6),
            $this->encodeInteger($entity->getFacilityNumber(), 7),
            $this->encodeDate($entity->getDateFile()),
            $this->encodeInteger($entity->getNumberRecords(), 5),
            $this->encodeString($entity->getCurrency(), 6),
        ];

        return implode(";", $output);
    }
public function parseEntity(StartRecordFormat $entity) {

        $output = [
            $this->encodeInteger($entity->getVersionRecordStructure(), 6),
            $this->encodeInteger($entity->getFacilityNumber(), 7),
            $this->encodeDate($entity->getDateFile()),
            $this->encodeInteger($entity->getNumberRecords(), 5),
            $this->encodeString($entity->getCurrency(), 6),
        ];

        return implode(";", $output);
    }
public function parseEntity ( StartRecordFormat $ entity ) { $ output = [ $ this -> encodeInteger ( $ entity -> getVersionRecordStructure ( ) , 6 ) , $ this -> encodeInteger ( $ entity -> getFacilityNumber ( ) , 7 ) , $ this -> encodeDate ( $ entity -> getDateFile ( ) ) , $ this -> encodeInteger ( $ entity -> getNumberRecords ( ) , 5 ) , $ this -> encodeString ( $ entity -> getCurrency ( ) , 6 ) , ] ; return implode ( ";" , $ output ) ; }
Parse a start record format entity.

@param StartRecordFormat $entity The start record format.
@return string Returns the parsed start record format.
@throws TooLongDataException Throws a too long data exception if a data is too long.
Parse a start record format entity .