use <code>static::getBytes</code> instead of <code>self::getBytes</code>