public function getSize($device)
    {
        if (isset($this->sizes[$device])) {
            return $this->sizes[$device];
        }

        return null;
    }
public function getSize($device)
    {
        if (isset($this->sizes[$device])) {
            return $this->sizes[$device];
        }

        return null;
    }
public function getSize ( $ device ) { if ( isset ( $ this -> sizes [ $ device ] ) ) { return $ this -> sizes [ $ device ] ; } return null ; }
Get a size for a device.

@param string $device The device.

@return null|array
Get a size for a device .