public function forDevice($device, $width, $offset = null, $push = null, $resets = false)
    {
        $this->sizes[$device] = array('width' => $width, 'offset' => $offset, 'push' => $push);

        if ($resets) {
            $this->addReset($device);
        }

        return $this;
    }
public function forDevice($device, $width, $offset = null, $push = null, $resets = false)
    {
        $this->sizes[$device] = array('width' => $width, 'offset' => $offset, 'push' => $push);

        if ($resets) {
            $this->addReset($device);
        }

        return $this;
    }
public function forDevice ( $ device , $ width , $ offset = null , $ push = null , $ resets = false ) { $ this -> sizes [ $ device ] = array ( 'width' => $ width , 'offset' => $ offset , 'push' => $ push ) ; if ( $ resets ) { $ this -> addReset ( $ device ) ; } return $ this ; }
Create a column for a device.

@param string   $device The device name.
@param int      $width  The column width.
@param int|null $offset Optional offset.
@param int|null $push   Optional push.
@param bool     $resets Reset columns.

@return $this
Create a column for a device .