public function getColumnNumber($code)
    {
        if (in_array($code, $this->matching))
        {
            foreach ($this->matching as $number => $codeValue)
            {
                if ($codeValue == $code)
                {
                    return (int) $number;
                }
            }
        }

        return null;
    }
public function getColumnNumber($code)
    {
        if (in_array($code, $this->matching))
        {
            foreach ($this->matching as $number => $codeValue)
            {
                if ($codeValue == $code)
                {
                    return (int) $number;
                }
            }
        }

        return null;
    }
@param $code

@return int|null