MAXakaWIZARD/xls-writer

View on GitHub
src/Record/Gridset.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
namespace Xls\Record;

class Gridset extends AbstractRecord
{
    const NAME = 'GRIDSET';
    const ID = 0x82;

    /**
     * @param $gridsetVisible
     *
     * @return string
     */
    public function getData($gridsetVisible)
    {
        $data = pack("v", intval($gridsetVisible));

        return $this->getFullRecord($data);
    }
}